MCC Master Negative List for more than 50 accounts

487 views
Skip to first unread message

bam...@choicelocalmarketing.com

unread,
Jul 18, 2016, 12:58:35 PM7/18/16
to AdWords Scripts Forum
I set up the MCC Master Negative List and keep getting this error Selector was too large. Cannot call executeInParallel on a selector with more than 50 elements. (line 61).
 is there a version that lets you do over 50 accounts? I feel like setting up to run hourly and applying labels could be a solution, however I do not have the coding skills to write that. I did try reducing ID numbers to 50 and still got the alert. I did also try cutting it to 49 so it was under 50 and for some reason it still failed

This is line 61 -  accountSelector.executeInParallel('processAccounts', 'postProcess')

Tyler Sidell (AdWords Scripts Team)

unread,
Jul 18, 2016, 2:44:10 PM7/18/16
to AdWords Scripts Forum
Hi,

If you are using executeInParallel, the script can only run on 50 accounts.  You are getting errors when you cut it to 49 because it is counting the MCC account as one of those 50 accounts.  I'd suggest limiting the amount of accounts by a couple more to see if you are still having issues with it failing.  I'd suggest using labels for the accounts so that it would be easy to manage which accounts get affected.

Thanks,
Tyler Sidell
AdWords Scripts Team

Tyler Sidell (AdWords Scripts Team)

unread,
Jul 18, 2016, 3:04:24 PM7/18/16
to AdWords Scripts Forum
Hi,

A workaround for the 50 account limit would be to use the Large Manager Hierarchy Template solution.

Thanks,
Tyler Sidell
AdWords Scripts Team

Thomas Koch

unread,
Dec 9, 2016, 5:57:59 AM12/9/16
to AdWords Scripts Forum
Hi Tyler,

Do you have  sample of this solution? My dev team is not that hardcore in JS so they couldn't help me.
We are in a desperate need of running a lot of accounts to exclude the same placement.

Tyler Sidell (AdWords Scripts Team)

unread,
Dec 9, 2016, 9:32:15 AM12/9/16
to AdWords Scripts Forum
Hi Thomas,

Are you asking for a sample of the 


Large Manager Hierarchy Template?  If so, all of the setup steps and source code is provided on that page.  It will walk you through the setup but basically you would start by copying the source code into your account.  

In the future, please open a new thread for better tracking purposes.

Let me know if you have any questions.

Thanks,
Tyler Sidell
AdWords Scripts Team

Thomas Koch

unread,
Dec 9, 2016, 10:48:50 AM12/9/16
to AdWords Scripts Forum
Thanks Tyler, i just did that now
Reply all
Reply to author
Forward
0 new messages