How to Independent MCC Account Lookup

52 views
Skip to first unread message

신현준

unread,
Oct 14, 2021, 3:17:51 AM10/14/21
to AdWords API and Google Ads API Forum
Hello
I had to inquire about the report data of several independent MCC accounts, so I inquired about whether one or more developer tokens were approved and, if not, how to call API for other MCC accounts.

According to the policy, only one developer token is approved by one company and if you need to call an API for another MCC account, you can specify it in the "login-customer-id" field, so we proceeded as follows.

1. Create user authentication information and OAuth consent screen with MCC2's Google account (Posted status: TEST, registered MCC1's Google post with test user)
2. As the guide of https://github.com/googleads/googleads-python-lib/wiki/API-access-using-own-credentials-(installed-application-flow)#step-2---setting-up-the-client-library, OAuth certification.
3. Change the account to MCC1 -> MCC2 using SetClientCustomerId.
4. Calling the account list inquiry API.

API call result:
googleads.errors.GoogleAdsServerFault: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']

How can I call API if I can't invite MCC1's Google account to MCC2 and we have to stay independent of each other? Or is there something I missed?

Google Ads API Forum Advisor

unread,
Oct 15, 2021, 3:17:49 AM10/15/21
to ssts...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for posting your concern. Allow me to provide support.

With regard to your question about developer token, it is indeed that only one production developer token can be granted to an organization / company. However, you can use it to any Google Ads accounts under an organization / company regardless if it has link or not to the MCC account where it is generated. Just include the developer token in the request header of the API request that targets specific accounts for report.

Also, could you provide more details on your term 'independent MCC accounts' so that we can have the same understanding about it?

As for the provided steps and USER_PERMISSION_DENIED, would you be able to provide the following details instead so that I can have clearer understanding about it?
  • Complete request and response logs with request ID generated on your end
  • The actual user accounts and customer ID of the MCC accounts that you've mentioned in the steps you've provided

You can provide the requested details via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PJVPl:ref
Reply all
Reply to author
Forward
0 new messages