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.

Post Office Seeks New Operator in Dinas Powys as Village Faces Loss of Its Last Branch
Gardening team praised after helping police clear fallen tree near St Brides Major
Specsavers calls on children in Barry to design Wales Deaf Rugby World Cup shirts
Whitmore High Named One of UK’s Best Workplaces for Development
Steel Signing Marks Major Milestone in St Richard Gwyn School Redevelopment
Two Rescues in Record Heat as Volunteer Teams Respond to Afternoon Emergencies
Police find evidence of a large-scale cannabis cultivation at Riverside Place property fire
Network Rail confirm closure of Brookside level crossing in Dinas Powys
Police given powers to ask people to leave Comeston Lakes Country Park
Planned children’s role play centre could be given the go-ahead by Vale Council
Marie Curie Garden Fayre deemed huge success
Council seeks views on Future of Colcot Sports Centre and Buttrills Playing Fields
First Minister quizzed on further devolution, budget decisions, and misinformation in FMQs
Extreme heat leads to changes to services and closures
Severe Heat Warning Set to Disrupt Rail Travel Across South Wales This Week
Communities asked to support older people across Wales during severe heat warning
Caribbean Community Wales Brings Wales‑Wide Launch to Barry This Weekend
Community Award winner calls for sanitary bins in men’s toilets after living with prostate‑cancer‑related incontinence
Cardiff Airport Backs Holiday Safety Campaign Honouring Rhoose Teenager Tom Channon