MCC negativeKeywordList error

113 views
Skip to first unread message

Alexander

unread,
May 23, 2019, 8:54:42 AM5/23/19
to Google Ads Scripts Forum
If I create negative lists in an MCC account with Google Ads Scripts then these lists seem to be broken. If I try to attach campaigns to these lists in UI then I get following error:
 
There was a problem making the changes you requested. Please try again later.

These lists are not visibile in sub-accounts.

I have no problems with lists, which were created in UI.

Code:

function main(){
  AdWordsApp.newNegativeKeywordListBuilder().withName( 'test_list' ).build();
}

Google Ads Scripts Forum Advisor Prod

unread,
May 23, 2019, 3:22:23 PM5/23/19
to adwords-scripts+apn2wqchzqdcdy5b...@googlegroups.com
Hi Alexander,

Can you please be more clear about the issue you are having? Any relevant screenshots will be helpful.

Can you confirm that when you run the code that you posted above, you are receiving the error:

“There was a problem making the changes you requested. Please try again later.”

This code should execute without issue, so if you are receiving this error with that code, please privately provide your CID and script name.

Thanks,
Matt
Google Ads Scripts Team

ref:_00D1U1174p._5001UAqQOf:ref

Alexander

unread,
May 24, 2019, 3:52:47 AM5/24/19
to Google Ads Scripts Forum

Can you please be more clear about the issue you are having? Any relevant screenshots will be helpful.

ok. I run following script in an MCC account ( tested in several different mcc accounts ):

function main(){
  AdWordsApp.newNegativeKeywordListBuilder().withName( 'test_list' ).build();
}

This works without issues. The list "test_list" gets created and is visible in MCC-account in UI. But this list is not visible in attached sub-accounts and it is not possible to attach campaigns to it: https://www.screencast.com/t/PuZ6SbWfWj

In the meanwhile, my colleague contacted google-ads support. They are working on it.

 

Can you confirm that when you run the code that you posted above, you are receiving the error:

“There was a problem making the changes you requested. Please try again later.”


No, the code executes without issues.

 
This code should execute without issue, so if you are receiving this error with that code, please privately provide your CID and script name.


The code executes without issues. Maybe I should write example code which creates a negative list, then iterates over all sub-accounts and tries to attach this list to all accounts. This would not work, because in all sub-accounts the list is not visibile (is not returned by the iterator ).


Google Ads Scripts Forum Advisor Prod

unread,
May 27, 2019, 2:12:14 AM5/27/19
to adwords...@googlegroups.com

Hi Alexander,

I am a colleague of Matt and I'll be the one to provide support to your concern.

With regard to your issue on the created negative keyword list at the account manager level, I am afraid that you can only used the provided code on the client accounts. This is the possible reason why the created negative keyword list is not visible in the client accounts and encountered an error in UI.

function main(){ 
     AdWordsApp.newNegativeKeywordListBuilder().withName( 'test_list' ).build();
}

With this, you may try to implement the Ads Manager selector and iterator so that the negative keyword list will be created on the client accounts and you can apply the created list to specific campaigns.

Furthermore, we have Master Negative List - Manager Account solution script, this script reads negative keywords from a Google spreadsheet. It creates a negative keyword list in the Google Ads account and syncs the list with the keywords from the spreadsheet. The script then ensures that the negative criteria list is applied to all the campaigns in the account. If you want, you can limit the list of campaigns by specifying a label in the configuration spreadsheet to filter for inclusion when processing campaigns. By default, the script processes all the accounts under the manager account. If you also want, you can limit the list of processed accounts by specifying their customer IDs in the configuration spreadsheet. Please refer to the provided link for this solution script to read more about it.

Please let me know if you have further questions/clarifications.

Regards,
Ejay
Google Ads Scripts Team



ref:_00D1U1174p._5001UAqQOf:ref

Alexander

unread,
May 27, 2019, 5:16:52 AM5/27/19
to Google Ads Scripts Forum
Hi Ejay,

can you confirm that the creation of negative lists is not supported for Manager Accounts? If this is the case, then our workaround would be to create the MCC lists manually in UI and then let the script handle everything else.
I will test whether this works.

Regarding Master Negative List - Manager Account: this would add a lot of complexity ( manage several scripts instead of one ). Also, we need the possibility to select the campaigns based on a list of strings contained in campaign-name and a list of strings which must not be contained in campaign name. I will have a look, but I don't expect the Master Negative List Script to have this capability.

Thank you for you help.

Google Ads Scripts Forum Advisor Prod

unread,
May 27, 2019, 7:32:14 AM5/27/19
to adwords...@googlegroups.com

Hi Alexander,

Thanks for your reply.

On the Google Ads scripts perspective, the NegativeKeywordListBuilder method can only be used in client accounts so creating negative keyword list on the manager account level is currently not possible.

With regard to Master Negative List - Manager Account solution script, you are correct that this might not fit to the solution that you are looking for. However, you can limit the list of campaigns by specifying a label in the configuration spreadsheet to filter for inclusion when processing campaigns.

Please let me know if you have further question/clarification.

Regards,
Ejay
Google Ads API Team



ref:_00D1U1174p._5001UAqQOf:ref
Reply all
Reply to author
Forward
0 new messages