Most efficient way to remove Sitelinks?

69 views
Skip to first unread message

Merijn P.

unread,
Dec 22, 2016, 10:34:50 AM12/22/16
to AdWords Scripts Forum
What is the most efficient way to remove sitelinks from campaigns? I guess it could be done by the sitelink.setEndDate function but this is not very efficienct as most people would want to delete it right away. What is the best way to do this?

Thanks!

Tyler Sidell (AdWords Scripts Team)

unread,
Dec 22, 2016, 11:57:25 AM12/22/16
to AdWords Scripts Forum
Hi Merijn,

You could use the setEndDate function but right now there is no method to remove sitelinks through AdWords Scripts.  It is currently not supported so using the setEndDate is a workaround that you could use.  

Thanks,
Tyler Sidell
AdWords Scripts Team

Merijn P.

unread,
Jan 19, 2017, 6:18:43 AM1/19/17
to AdWords Scripts Forum
Hi Tyler,

If im not mistaken then the setEndDate removes the entire sitelink from the account right? Is there any way to remove or replace the sitelink from a campaign without removing it from the account?

Kind regards,

Merijn

Anthony Madrigal

unread,
Jan 19, 2017, 11:32:05 AM1/19/17
to AdWords Scripts Forum
Hi Merjin,

You can remove a sitelink from a campaign by using the removeSitelink function in the Campaign object. This will not delete the sitelink from your account.

Cheers,
Anthony
AdWords Scripts Team

Merijn P.

unread,
Jan 20, 2017, 2:41:30 AM1/20/17
to AdWords Scripts Forum
Hi Anthony,

Thank you! This was what I was looking for :)

Kind regards,

Merijn
Reply all
Reply to author
Forward
0 new messages