I'm trying to fetch all related customer clients using the REST version of the Google Ads API v3, but I currently get no results when trying to query for a client customer list using the "googleAds:search" endpoint.
*My query looks like this*: Http endpoint: https://googleads.googleapis.com/v3/customers/{mccId}/googleAds:search Query: "SELECT customer_client.resource_name FROM customer_client" This returns a 200 response with only the fieldMask as a response. Related CURL command: curl --request POST \ --url https://googleads.googleapis.com/v3/customers/{mccId}/googleAds:search \ --header 'authorization: Bearer {accessToken}' \ --header 'content-type: application/json' \ --header 'developer-token: {productionDeveloperToken}' \ --header 'login-customer-id: {mccId}' \ --data '{ "query": "SELECT customer_client.resource_name FROM customer_client" }' *The funny thing is that almost the same query works on the deprecated v1 API*: Http endpoint: https://googleads.googleapis.com/v1/customers/{mccId}/googleAds:search Query: "SELECT customer.id, customer_client.resource_name, customer_client.level, customer_client.client_customer FROM customer_client LIMIT 100" This gives me 4 results with all accounts, including my MCC account. Are there any known issues with this type of query in v3 of the API, or are there some required fields that i might have overlooked? Are there any other endpoints I'm supposed to use to get my desired result? (A human readable list of all customer clients, including at least id and name) (All this is being tested in a test environment where I've created a test mcc account that contains 3 customer clients and a few campaigns. No production data.) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a721df7a-26d9-4a89-a18c-3f60ada79f2do%40googlegroups.com.
