Ads Script Status "Finished with errors"

224 views
Skip to first unread message

Victoria L

unread,
Sep 23, 2019, 10:47:34 AM9/23/19
to Google Ads Scripts Forum
Hi,

I tried to run the Negative Keywords Script and got the status of "finished with errors". The log statement says "ReferenceError: "AdsManagerApp" is not defined. (file Code.gs, line 87)"

Could you help me fix the problem.

Thanks.
Capture.PNG
Capture2.PNG

Google Ads Scripts Forum Advisor

unread,
Sep 23, 2019, 5:00:07 PM9/23/19
to adwords-scripts+apn2wqelwtk5hz2f...@googlegroups.com, adwords-scripts+apn2wqelwtk5hz2f...@googlegroups.co, adwords...@googlegroups.com
Hi Victoria,

This error only occurs when trying to place an MCC level script onto a single account. You will want to use the single account version of the script.

Regards,
Anthony
Google Ads Scripts Team  

ref:_00D1U1174p._5001UHHeXl:ref

Victoria L

unread,
Sep 24, 2019, 10:53:10 AM9/24/19
to Google Ads Scripts Forum
Hi Anthony,

Thank you for your reply, I ran this single account version and it worked. However, I have problems adding 2 recipient emails,  which worked in our other scripts. Here is the log statement I got, could you help with this?

Regards,
Victoria
screenshot-ads.google.com-2019.09.24-10_43_39.png

Google Ads Scripts Forum Advisor

unread,
Sep 24, 2019, 12:08:46 PM9/24/19
to adwords-scripts+apn2wqelwtk5hz2f...@googlegroups.com, adwords-scripts+apn2wqelwtk5hz2f...@googlegroups.co, adwords...@googlegroups.com
Hi Victoria,

Glad to hear the script worked using the single account version. 

If you want multiple email addresses specified, you will need to put them in this format:
RECIPIENT_EMAILS: [
    'ema...@example.com','ema...@example.com'
  ],

Let me know if you still face issues.

Cheers,
Reply all
Reply to author
Forward
0 new messages