linkchecker script to ignore active ads, keywords and sitelinks inside paused campaigns?

135 views
Skip to first unread message

Master LinkChecker

unread,
Jun 19, 2019, 11:12:57 AM6/19/19
to Google Ads Scripts Forum
I have my link checker scripts set up to ignore paused Keywords, Ads and site links, but most of the time it is much easier to pause a campaign than all the objects within it to get the link checker to ignore those objects. Is there a way to edit the script and google sheet to have the link checker not check Keywords, Ads and Sitelinks that live inside paused campaigns? 

Google Ads Scripts Forum Advisor Prod

unread,
Jun 19, 2019, 2:42:31 PM6/19/19
to adwords-scripts+apn2wqftrcjswgx8...@googlegroups.com, adwords-scripts+apn2wqftrcjswgx8...@googlegroups.co, adwords...@googlegroups.com

Hello,

If you set your spreadsheet to ignore paused entities, it will also ignored entities that are contained in paused campaigns and ad groups.
 

Regards,
Anthony
Google Ads Scripts Team



ref:_00D1U1174p._5001UBoDwo:ref

Master LinkChecker

unread,
Jun 21, 2019, 3:42:28 PM6/21/19
to Google Ads Scripts Forum
I don't think that that is true. I have seen that the linkchecker script will check active entities within paused campaigns. It only cares if the keyword, ad or site link is paused or active. it does not look at the ad group or campaign status. This is something that can be easily tested. 

Google Ads Scripts Forum Advisor Prod

unread,
Jun 21, 2019, 4:13:33 PM6/21/19
to adwords-scripts+apn2wqftrcjswgx8...@googlegroups.com, adwords-scripts+apn2wqftrcjswgx8...@googlegroups.co, adwords...@googlegroups.com

Hello,

If you look at the function checkUrls, you'll see that the variable addConditions contains an includePaused parameter. This determines the status of the entities and its corresponding campaigns and ad groups.
 

Master LinkChecker

unread,
Jun 24, 2019, 11:55:01 AM6/24/19
to Google Ads Scripts Forum
Apologies, I ran a test and can confirm that the link checker script will, by default, ignore objects inside paused campaigns. Do you know if this was always the behavior of the script or did this logic start with a specific code version / update?  I feel like I have seen the lick checker script check active objects inside paused campaigns on multiple occasions. 

Google Ads Scripts Forum Advisor Prod

unread,
Jun 24, 2019, 3:57:39 PM6/24/19
to adwords-scripts+apn2wqftrcjswgx8...@googlegroups.com, adwords-scripts+apn2wqftrcjswgx8...@googlegroups.co, adwords...@googlegroups.com
Hi,

Can you reply privately to author your CID, script name and some instances of active objects and their campaign and ad group IDs so I can take a closer look?

Thanks,
Reply all
Reply to author
Forward
0 new messages