getting Account Name by Adwords Scripts?

335 views
Skip to first unread message

oliviergratton

unread,
Sep 17, 2012, 11:21:33 AM9/17/12
to adwords...@googlegroups.com
Hi guys,

I'm working on a script to flag no-impressions campaign and send a warning email to the account manager. I'm looking for a way to access the account name by the script, since I would like to copy the same script on all the accounts I manage without having to adjust each name individually.

Any way of accessing that piece of data?

Best,

Olivier

Kevin Winter

unread,
Sep 18, 2012, 12:18:34 PM9/18/12
to adwords...@googlegroups.com
Hi Olivier,
  Unfortunately, there's currently no way to obtain account identifiers at this time.  We're currently researching MCC support and will try to make this easier when that happens.

Since scripts are currently tied to the account, one workaround is to define a global variable such as 

var ACCOUNT_NAME = 'My Account';

and update that when adding this script to an individual accounts.  Then the script body can just refer to ACCOUNT_NAME and will see the value for this account.

- Kevin Winter
AdWords Scripts Team

oliviergratton

unread,
Sep 18, 2012, 12:25:45 PM9/18/12
to adwords...@googlegroups.com
Hi Kevin,

Thank you for answering. Hope this feature will be implemented soon!

Olivier
Reply all
Reply to author
Forward
0 new messages