CustomerClient resource not returning all fields

33 views
Skip to first unread message

Kenneth Oh

unread,
Sep 5, 2019, 3:14:14 PM9/5/19
to AdWords API and Google Ads API Forum
Hello,

I am using the google-ads-python package, and when querying the CustomerClient resource, I am not receiving all the fields I queried for. 

Query:
SELECT customer_client.client_customer, customer_client.descriptive_name, customer_client.id, customer_client.hidden, customer_client.manager, customer_client.test_account, customer_client.timezone 
FROM customer_client 
WHERE customer_client.hidden != TRUE AND customer_client.test_account != TRUE AND customer_client.manager != TRUE

Consistently for every single client customer (~1200 accounts), I am only receiving the client_customer, hidden, level, and resource_name fields.

Is this a known issue that the CustomerClient resource does not return these fields? 

Also, when will a feature for querying for only ACTIVE accounts be available? It seems like a total waste of quota usage to have to try querying for each individual account using the CustomerService GetCustomer method and seeing if the request fails due to a CUSTOMER_NOT_ENABLED or similar error.

Google Ads API Forum Advisor Prod

unread,
Sep 6, 2019, 1:47:47 PM9/6/19
to ohtke...@gmail.com, adwor...@googlegroups.com
Hi Kenneth, 

We are not aware of any known issues at this time. Could you please share the request and response for the API call, so I can take a closer look? You may share the details privately via Reply privately to author option. 

For your second concern, I'm afraid, it is currently not possible to query for the accounts based on status. There is already a feature request for this. Please keep an eye on our blog for more updates. 

Thanks,
Bharani, Google Ads API Team

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