Hello, 

You can perform a ManagedCustomerService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201802/ManagedCustomerService#get>
 operation 
and check for the canManageClients 
<https://developers.google.com/adwords/api/docs/reference/v201802/ManagedCustomerService.ManagedCustomer#canmanageclients>
 value. 
If the value is true, it means that the account CID specified can manage 
other client accounts. 

As for your second concern, you could use the Account Hierarchy code sample 
<https://developers.google.com/adwords/api/docs/samples/java/account-management#get-the-account-hierarchy-under-the-current-account>
 in 
Java, which will return the complete account hierarchy for the CID 
specified in the request header. Code samples in other languages can be 
found here <https://developers.google.com/adwords/api/docs/clientlibraries>. 
Could you please try this out and let me know if you have any other 
questions?

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/6e55ceea-2f13-4a99-8399-21b0af75f9cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • How to check ... Trường Nguyễn Xuân
    • Re: How ... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum

Reply via email to