Hi George,

Yes, the CustomerClientService.GetCustomerClient() 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerClientService.GetCustomerClient>
 method 
should be the right way to pull the customers under your MCC account as 
stated on the CustomerClient's guide 
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.resources#google.ads.googleads.v0.resources.CustomerClient>.
 
However, to further investigate this, could you provide your MCC ID so I 
could take a look at my end? Please reply via *Reply privately to author*.

Thanks and regards,
Luis
AdWords API Team

On Tuesday, January 8, 2019 at 8:57:27 AM UTC+8, George G wrote:
>
> Using the Google Ads API, I'm trying to retrieve all of the client 
> accounts under a manager account.
>
> I'm using the GetCustomerClient 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.CustomerClientService.GetCustomerClient>
>  method. 
> The documentation for the CustomerClient 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.resources#google.ads.googleads.v0.resources.CustomerClient>
>  resource 
> states that "For a manager, it returns all the customers in its hierarchy 
> and self." This suggests that if I call GetCustomerClient with the manager 
> resource ID as the client, it should return all of the customers at the 
> same time. For example, if my manager ID is 1234567890, I would expect the 
> following to return all of the 20+ customers that are clients:
>
> GetCustomerClient(c 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#google.ads.googleads.v0.services.GetCustomerClientRequest>
> ustomers/1234567890/customerClients/1234567890)
>
> Instead, I'm only getting the manager ID back:
>
> resource_name: "customers/1234567890/customerClients/1234567890"
> client_customer {
>   value: "customers/1234567890"
> }
> hidden {
> }
> level {
> }
>
> Is this the correct approach, or is there another service I should be 
> using to achieve this goal?
>
> Thanks in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4fbd44c9-03d1-4dfc-b77b-676a49765135%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... George G
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to