Hi Nima,

As per this blog post 
<http://googleadsdeveloper.blogspot.com/2016/10/access-multiple-adwords-accounts-with.html>
, CustomerService.getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/v201705/CustomerService#getCustomers>
 returns 
the AdWords accounts associated with the Google account you used to 
generate your OAuth2 credentials and not child accounts under a manager 
account.

If you wish to retrieve the client accounts under your manager account, 
then you may use the ManagedCustomerService.get() 
<https://developers.google.com/adwords/api/docs/reference/v201705/ManagedCustomerService#get>
. Here is a sample code 
<https://developers.google.com/adwords/api/docs/samples/java/account-management#get-the-account-hierarchy-under-the-current-account>
 to 
help you get started with development.

Let me know if this helps or if you need further assistance.

Regards,
Ivan
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/866a5534-da5f-43e4-beb5-fc0af51c74f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Get ... Nima Gardideh
    • ... 'Ivan Bautista' via AdWords API Forum
      • ... 'Ivan Bautista' via AdWords API Forum
        • ... Nima Gardideh
        • ... Nima Gardideh
          • ... 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum

Reply via email to