Reporting on multiple accounts

1,036 views
Skip to first unread message

Madhav Kakani

unread,
Jun 4, 2013, 11:16:31 AM6/4/13
to adwor...@googlegroups.com
Hi All,

I have a tricky situation and I hope one of you can point me in the proper direction.

I have a Google Developer Token and my own MCC account. Using this developer token, I am able to pull reports for a certain Google AdWords account (example: acco...@gmail.com). Note that this AdWords account is not at all linked to my MCC account. By passing its credentials (login id, password, account id) I am able to do reporting with no issues.

Now I have another customer who has multiple Google AdWords accounts under their own MCC account. They do not have a developer token.

What do I need to do to pull reports for these accounts? When I use the customer's MCC account credentials (mcc login id, mcc password, mcc account id) along with my developer token in the API call, the authentication fails.

Does this mean that I need to make an API call for each specific sub-account (client) separately to get the reporting data?

Example:
sub-account 1: In the API call use sub-account 1 login, password, and sub-account id to get its data
sub-account 2: In the API call use sub-account 2 login, password, and sub-account id to get its data,
and so on...

Is there a better way as the above requires that I know credentials for all the above accounts?

For instance, can I use the Customers' MCC login credentials with the sub-account's id to get data? I have tried it but it does not work and I get authentication failures.

Any help or sample code is very much appreciated as I am stuck at the moment.

Kind Regards
Madhav

Anand Hrushikesh

unread,
Jun 5, 2013, 4:20:38 AM6/5/13
to adwor...@googlegroups.com
Hey Madhav,

Please check this tutorial:

Regards

Kevin Winter (AdWords API Team)

unread,
Jun 10, 2013, 9:39:55 AM6/10/13
to adwor...@googlegroups.com
Hi Madhav,
  When you use the customer's MCC account credentials, you need to specify the clientCustomerId of the child (non-MCC) account you wish to obtain a report for.  You cannot target the MCC with report download calls.  You will have to make separate calls for each child acocunt, but you can use the MCC's credentials with the respective child account's clientCustomerId.  See here for an overview of how this works: https://developers.google.com/adwords/api/docs/guides/basic-concepts#accessrules

- Kevin Winter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages