Urgent Bug: AuthorizationError.CUSTOMER_NOT_ACTIVE error for whole hierarchy even if 1 account is inactive

141 views
Skip to first unread message

AdWordsApiUser

unread,
Jun 4, 2018, 5:45:29 AM6/4/18
to AdWords API and Google Ads API Forum
Hello,

When pulling a list of accounts using ManagedCustomerService, the service is returning AuthorizationError.CUSTOMER_NOT_ACTIVE if the hierarchy contains even one inactive account (or that is what our observations is right now). The calls to individual accounts using the same oauth token work correctly. This is preventing our users from managing their accounts. Would appreciate a quick resolution.

Cheers,
MG

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 4, 2018, 12:08:40 PM6/4/18
to AdWords API and Google Ads API Forum
Hi MG,

In order to troubleshoot further, could you please reply back with the emailid used for API call, the target MCC id and client customer id of an inactive account?

Regards,
Dhanya, AdWords API Team

AdWordsApiUser

unread,
Jun 4, 2018, 12:44:58 PM6/4/18
to AdWords API and Google Ads API Forum
I just replied privately to you.

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 4, 2018, 2:46:07 PM6/4/18
to AdWords API and Google Ads API Forum
Hi MG,

Thank you for letting us know. We are looking at this issue and will reply on this thread as soon as we have an update. 

Alon Diamant

unread,
Jun 4, 2018, 3:28:11 PM6/4/18
to AdWords API and Google Ads API Forum
Hi there

We are also getting these errors. It started around 4-5 days ago.
None of the ad accounts we have are older than 15 months, most of them are (perhaps) a month old.

One example we've seen is a Google account which is an Admin in an AdWords Manager Account, which is valid and works as expected. It manages a Client Account that was created by another MA.
Also, a single Client Account (perhaps created before the Manager Account, perhaps after, but indeed created by the same Google account) is shown in the account selection UI as "Setup in progress".
This account setup process was started and aborted days if not weeks ago, and was never finished.

Calling the CustomerService (v201802) immediately returns an HTTP 500 error, with code:

'[AuthorizationError.CUSTOMER_NOT_ACTIVE @ ; trigger:\\'<null>\\']'

This is the code (Python):

adwordsClient = getAdwordsClient(refreshToken, clientCustomerId=None)
customerService = adwordsClient.GetService('CustomerService', version='v201802')
accounts = customerService.getCustomers()

So really, nothing special in the code. Not asking for a specific CA, just for the directly accessible customer accounts.
Thing is, the "Account in Setup" CA blocks us from seeing the MA which is completely valid.

This seems like the bug reported by MG.
Any way we can help?

Thanks,

Alon

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 5, 2018, 1:29:44 PM6/5/18
to AdWords API and Google Ads API Forum
Hi all,

Thanks for the details. We are looking into it and will post on this thread once we have any updates.

Dhanya Sundararaju (AdWords API Team)

unread,
Jun 5, 2018, 3:58:26 PM6/5/18
to AdWords API and Google Ads API Forum
Hi all,

The issue has been fixed. Could you please retry and let me know if you still get errors when pulling up active accounts?

Soufiane Ghzal

unread,
Jun 5, 2018, 4:00:44 PM6/5/18
to AdWords API and Google Ads API Forum
Hi Dhanya

It does, thanks for the support!
Reply all
Reply to author
Forward
0 new messages