In my API query, I'm using the filter: 

WHERE customer_client.status = 'ENABLED' 

But I still get:

authorization_error: CUSTOMER_NOT_ENABLED
message: "The customer account can\'t be accessed because it is not yet 
enabled or has been deactivated."

Is that the correct filter? Or do I have to use it somewhere else? 

I'm using list_accessible_customers() to get all the account IDs in the 
logged-in user's account (not adding them manually).

My code works OK for users with only enabled accounts


On Wednesday, February 23, 2022 at 9:23:18 AM UTC+1 Google Ads API Forum 
Advisor wrote:

> Hi everyone,
>
> This is to confirm that the below contents of this update 
> <https://developers.google.com/google-ads/api/docs/release-notes#account_management>
>  
> would indeed allow customers to filter the status of their accounts : 
>    
>    
>
>    - Added Customer.status 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v10/Customer#status>
>  
>    and CustomerClient.status 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v10/CustomerClient#status>,
>  
>    whose type is CustomerStatus 
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v10/CustomerStatusEnum.CustomerStatus>,
>  
>    to show the status of the account. 
>
>
>    - CustomerClient 
>    <https://developers.google.com/google-ads/api/fields/v10/customer_client> 
>    will contain inactive accounts in addition to active and test accounts. 
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5001UCZyNO:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/9a4bbae3-dba3-4179-9bc6-a9955525fc73n%40googlegroups.com.
  • Re... Miguel Angel Garcia
    • ... OU L
      • ... Shawn Hsiao
        • ... Chirag eReportz
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... OU L

Reply via email to