Hi Team, 

We are using v10 google ads API in our. We are making listaccessible call 
to get list of direct accessible accounts. For each account, we have used 
below GAQL query to fetch the details of that account. 

*SELECT  customer.id,  customer.descriptive_name,  customer.manager, 
customer.auto_tagging_enabled, customer.status FROM customer WHERE 
customer.status = 'ENABLED'"*;


Using below function to make a request:





* GoogleAdsServiceClient.SearchPagedResponse response; response = 
googleAdsServiceClient.search( SearchGoogleAdsRequest.newBuilder() 
.setQuery(query) .setCustomerId(Long.toString(customerId)) .build());*


Even though we are using Enabled status , still i am seeing 
CUSTOMER_NOT_ENABLED error

```
errors {
  error_code {
    authorization_error: CUSTOMER_NOT_ENABLED
  }
  message: "The customer can\'t be used because it isn\'t enabled."
}
request_id: "03obkXEENDCCxVmotA_nvg"
````

Why the request is still failing with CUSTOMER_NOT_ENABLED error , if i 
have added the *customer.status = 'ENABLED' in *GAQL query. 

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 
"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/9a010348-57be-4c1a-8efa-fe1c1565c3d2n%40googlegroups.com.
  • CU... r10.m...@gmail.com
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to