Hi, I faced the same problem, and get it solved.

I've been using API to get geolocation reports for 3 years, since the 
AdWords API era. When I try to migrate my code to V8, I get this error, but 
V7 works fine.

The reason is if you post the request with your MCC identity, but on behalf 
of an account under its management, you need to verify if the account is 
live or not. If you are querying a canceled account, it will give you this 
error in V8, but V7 seems does not care about it too much.

So, my solution is simple, I did a try-catch trick when posting the 
request, and of the error response says my account is not enabled, I just 
skip this account.


On Friday, August 27, 2021 at 8:34:36 PM UTC+8 Pniel Abramovich wrote:

> Hi Guys,
>
> geting CUSTOMER_NOT_ENABLED
>
>  
>
> the complete error message 
>
>  
>
> com.google.ads.googleads.v6.errors.GoogleAdsException: errors {
>
>   error_code {
>
>     authorization_error: CUSTOMER_NOT_ENABLED
>
>   }
>
>   message: "The customer can\'t be used because it isn\'t enabled."
>
> }
>
>  
>
>  
>
> Can you please assist? the account looks active
>
> What is the email for the support?
>
>  
>
> Thanks 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87fcddfd-4ec2-4f44-8739-e010c8feaf05n%40googlegroups.com.
  • Re: CUSTOMER_NOT_E... 'jinge zhang' via AdWords API and Google Ads API Forum

Reply via email to