You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message