Hi Anthony,

Thank you for the help.

I'm a little confused on how to use the CustomerClientService. 

Firstly to get the service should I be doing this with a GoogleAdsClient  
that has login customer ID set to the manager account ID?
Then, how do I use the service to determine if a given account is a sub 
account of the manager account?

I have got this far, but not sure what do with the CustomerClient from here:

CustomerClient client = 
googleAdsClient.getLatestVersion().createCustomerClientServiceClient()
.getCustomerClient(managerCustomer.getResourceName());


Thanks



On Thursday, 25 April 2019 14:54:30 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hi Tim,
>
> You can use the CustomerClientService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#customerclientservice>
>  to 
> get the accounts under your manager. 
>
> For future reference, you can use this guide 
> <https://developers.google.com/google-ads/api/docs/migration/services> to 
> see what services map from AdWords API to Google Ads API.
>
> Cheers,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
>     https://ads-developers.googleblog.com/search/label/google_ads_api
>     https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/25/19 08:34:43 th...@post.com <javascript:> wrote:
>
> Given a manager account ID, how can I find the sub accounts this manager 
> account is associated with?
>
> In AdWords API there's the ManagedCustomerService but I cannot see an 
> equivalent approach in Ads API.
>
> 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 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> 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/8090ef98-98e9-4c72-b77d-055df67bddbf%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/adwords-api/8090ef98-98e9-4c72-b77d-055df67bddbf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/acc76b11-a765-4b7c-b38e-32c675459e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Get acc... Tim
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Tim
      • ... vadim
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to