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.

Temporary restrictions for the Merrie Harrier Junction
Community Libraries Mark Decade of Success Across the Vale
Senedd Members have backed calls to review Wales’ funding formula to increase fairness and transparency in how the nation is financed.
Plans have been filed to bring a prominent town centre building back into use, but it may not be forever
A4232 closures planned between Leckwith and Culverhouse Cross for urgent works
Barry Town United Members Back New Ownership Model in Landmark Vote
Belova app aims to bring people together across Cardiff and the Vale
Road rage arrest after driver allegedly threatened motorist with hammer on A4232
National Grid shares plans for new Aberthaw substation development
Petition to save ward at Llandough Hospital gains hundreds of signatures
Concerns Raised Over Plans to Remove Plans for Community Space From Former Barry Pub
Gas Pipe Upgrade Work in Dinas Powys Approaching Completion
Tributes Paid to Barry Athletic Stalwart Terry Collins
New ALN Sixth Form Opens in Vale as Education Minister Visits New School
Jepkosgei sets new course record as Cardiff Half Marathon welcomes record international field
Bro Radio partners with Hospital Radio Glamorgan for Cardiff Half Marathon coverage
Senedd Members reject Reform bid to scrap 20mph speed limits
Barry Town Council Cuts Public Opening Hours After Rise in Abuse Towards Staff