Removing Sitelinks via Script

109 views
Skip to first unread message

GC

unread,
Jul 29, 2021, 8:23:56 AM7/29/21
to Google Ads Scripts Forum
Hi there, 

Is there a solution to remove account & campaign sitelinks with scripts now? I'd like to remove expired sitelinks from the associated campaigns to avoid hitting the 20 sitelink per campaign limit. 

Thanks,
Grace

Google Ads Scripts Forum Advisor

unread,
Jul 30, 2021, 2:56:38 AM7/30/21
to adwords...@googlegroups.com
Hi GC,

You may utilize the AdsApp.​CampaignSitelinkSelector to fetch campaign-level sitelinks, then use removeSitelink method to removes a sitelink extension from campaign. 

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads Scripts Team
 


 

ref:_00D1U1174p._5004Q2JEzvL:ref
Reply all
Reply to author
Forward
0 new messages