Hi Tejas,

The get() method of CustomerService 
<https://developers.google.com/adwords/api/docs/reference/latest/CustomerService>
 was 
removed in API version v201607. You need to use getCustomers() 
<https://developers.google.com/adwords/api/docs/reference/latest/CustomerService#getCustomers>
 instead. 
See the updated Managing Accounts guide 
<https://developers.google.com/adwords/api/docs/guides/accounts-overview#customerservice>
 for 
details. CustomerService getCustomers 
<https://developers.google.com/adwords/api/docs/reference/v201607/CustomerService#getcustomers>
 method 
returns the details of the authenticated account if the clientCustomerId is 
not set in the request header. If clientCustomerId is specified, only 
details of that customer will be returned. 

To get a list of all accounts you can access using the OAuth credentials 
available, you could probably use the CustomerService.getCustomers() method 
to retrieve the clientCustomerId of the account you're authenticated as and 
use this clientCustomerId to get the account hierarchy under this account 
using ManagedCustomerService 
<https://developers.google.com/adwords/api/docs/reference/latest/ManagedCustomerService>
.

Regards,
Shwetha, 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 [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 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/fa029ebb-41d9-496a-b71b-d7b9f5563a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ManagedCustomer... tejas
    • Re: Manage... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
    • Re: Manage... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: Ma... Tejas Manohar
        • Re... Tejas Manohar
          • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
            • ... tejas
              • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
                • ... tejas
                • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to