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