Junk food adverts will be banned on all council-owned property in Cardiff.
It's the second Welsh local authority to impose restrictions on promoting unhealthy food and drink, following a move by Vale of Glamorgan Council earlier this month.
But Cardiff Council says it will go further - with ads for diesel vehicles, payday loans and tobacco products also banned from all of its assets.
The cabinet voted in favour of the measures on Thursday in an effort to support public health, sustainability and community wellbeing in the Welsh capital.
Cllr Dan De'Ath, cabinet member for climate change and strategic planning, said: "Products - such as foods high in fat, salt and sugar - can still be advertised elsewhere in the city, and people can still make their own choices on whether to buy them or not."
"But stopping publicly owned assets being used to promote them is a positive step towards creating a stronger, fairer and greener city for everyone."
In the Vale, restrictions were introduced on junk food advertising primarily at bus stops and on roadside billboards, along with the council's website.
Council leader Lis Burnett denied they were telling people what to do through the ban, saying it was aimed at "taking steps to improve the health and wellbeing" of local residents and to encourage "more active lifestyles".
Local health officials welcomed the move, but it was attacked by former Welsh Conservative leader Andrew RT Davies, who accused "town hall bosses" of "treating residents like children".
Cardiff Council says it's restrictions align with the Welsh Government's 'Healthy Weight, Healthy Wales' strategy and anticipates UK Government restrictions, due to be introduced in January.
But the council adds it will honour existing contracts promoting HFSS (high in fat, salt and sugar) products until they expire - with the new advertising policy due to be reviewed every three years.
Brand advertising is allowed, but only if no products are featured directly and all proposals for HFSS-related adverts will need council approval.

Vale Councillor blasts school funding in the county
Bear Field Skate Park set for major upgrade as part of new Placemaking Plans
New apprenticeship courses in construction to be introduced in Wales
Former Penarth Bank could become a cafe
New poll shows majority of Welsh voters lack voting confidence ahead of Senedd Election
Construction hub secured for rail upgrades
Prolific thief banned from Holton Road
Cowbridge: plans for more holiday lodges
Man dies suddenly in Romilly Park
Cash boost for Sully Primary School
Speed limits reduced despite objections
Concern over imported chicken in school meals
A48 closed after three-vehicle collision
Rhys unveils red bench 'in living memory'
Barry: plans lodged for 70-home development
Plans to revamp Heritage Coast centre
Carnival drummers join pirate opera encore