Account Anomaly Detector - Account name

98 views
Skip to first unread message

Martin Theil Nielsen

unread,
Jun 9, 2021, 5:02:26 AM6/9/21
to Google Ads Scripts Forum
I using the Account Anomaly Detector - Manager Account:

When I get the email (report) with the accounts who performe anomaly, I can only see the id's of the account but not account name - how can I fix this issue?

Google Ads Scripts Forum Advisor

unread,
Jun 9, 2021, 7:38:55 AM6/9/21
to adwords...@googlegroups.com
Hello,

Thanks for reaching out. Harry here, from the Google Ads Scripts Team.

As you may notice in the template spreadsheet, the script will only retrieve data on  Customer/Account ID, today stats and historical stats. The script was intended to retrieve the Customer ID only so if you would like for the script to also retrieve the Account's name or retrieve it in place of the Customer ID, then you would have to make changes to the script rather than this being an issue.

Let me know how I can assist you further.

Thanks,
Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2I1Myv:ref

Martin Theil Nielsen

unread,
Jun 9, 2021, 8:21:37 AM6/9/21
to Google Ads Scripts Forum
Thank you for your help Harry

Can you maybe explain for me where I need to change the script, so I can get the account name also?

Google Ads Scripts Forum Advisor

unread,
Jun 9, 2021, 11:02:39 PM6/9/21
to adwords...@googlegroups.com
Hi Martin,

Thanks for coming back. Kindly try to find the variable dataRows which will contain the data per account/row and replace account.getCustomerId() with account.getName(). You may also want to rename the Customer ID column name in the spreadsheet with Account Name or Customer Name. 

Let me know how it goes after trying.
Reply all
Reply to author
Forward
0 new messages