Web link checker: Cannot fetch more AdWords entities from iterator: exceeded limit of 50000.

316 views
Skip to first unread message

Dario Traballi

unread,
Sep 1, 2016, 12:17:20 PM9/1/16
to AdWords Scripts Forum
Hello everybody,

I tried to implement this script on my account, but since it has a few hundred thousands active keywords, the system gives me this error back: Cannot fetch more AdWords entities from iterator: exceeded limit of 50000. 

I've tried to find a workaround for this problem without succeeding (my knowledge of Javascript is very poor), so I was wondering if anyone could help. It would be absolutely fine if I could check ad links by campaign name or labels, but i could find a way to make the iterator work properly.

The script I was trying to run is the standard one you can find here, without any particular variation.

Thank you in advance for your help, 

Dario

Tyler Sidell (AdWords Scripts Team)

unread,
Sep 1, 2016, 4:40:36 PM9/1/16
to AdWords Scripts Forum
Hi Dario,

Thanks for reaching out.  Currently, the limitation of AdWords Scripts is that it can only run on 50K at a time.  To get around this, specifically for the Link Checker script, you could modify the template spreadsheet to only check certain entities at a time.  For instance, only marking "Check ad Urls" as 'Yes' while the others are marked as 'No'. 

Other options include:
  • Setting a labels condition on the selector within the code itself:
    .withCondition("LabelNames CONTAINS_ANY ['Xmas', 'New Year']")
  • Setting a limit to the selectors within the code itself:
    .withLimit(50)
Thanks,
Tyler Sidell
AdWords Scripts Team

Dario Traballi

unread,
Sep 3, 2016, 11:58:09 AM9/3/16
to AdWords Scripts Forum
Hi Tyler, 

thanks for your answer. I have already modified the template spreadsheet in order to analyse the ads URLs only, but what it's not very clear to me is where to put the selector within the code. Also, do you think I could select a only certain campaigns that contain specific words in their names by using the following condition instead of a label condition?


withCondition("CampaignName CONTAINS_IGNORE_CASE 'it - search'")


Thanks again

Dario

Jaren Callo (AdWords Scripts Team)

unread,
Sep 5, 2016, 3:58:00 AM9/5/16
to AdWords Scripts Forum
Hi Dario,

You can add the conditions in the selectors in checkUrls function.

Thanks,
Jaren P. Callo
AdWords
Reply all
Reply to author
Forward
0 new messages