Thanks for the help so far, Devin! 

As a follow up, is there also an endpoint that I could make a request to 
that returns a Customer ID that I could then pass to the customer_client 
call? Or is the best solution to make a request to List Accessible 
Customers, and from the returned list of accounts, pass all of those 
accounts to customer clients to get the entire account hierarchy for those 
individual accounts?

Thank you,
Ky

On Monday, November 11, 2019 at 7:48:01 AM UTC-8, adsapiforumadvisor wrote:
>
> Hi Ky, this feature request was actually recently completed and is 
> available for use. In order to accomplish your goal, make a POST request 
> against the search endpoint (/v2/customers/{customer_id}/googleAds:search). 
> You should structure your query to make a request against the 
> customer_client 
> <https://developers.google.com/google-ads/api/fields/v2/customer_client> 
> resource. For example, your query might look something like this:
>
> *SELECT customer_client.client_customer, customer_client.resource_name, 
> customer_client.id <http://customer_client.id> FROM customer_client*
>
> The result will be a flattened list of all of the accounts in the account 
> hierarchy.
>
> All the best,
> Devin
> The Google Ads API Team
>
>  
>
> ref:_00D1U1174p._5001UMWUzl: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 [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/bb374c3b-ae27-4e55-82a6-c82c5d20a1de%40googlegroups.com.

Reply via email to