+1 for this. Poorly documented.
How can I CustomerService.getCustomers() in the PHP library, can't seem to 
find the proper document for information.

On Monday, 22 July 2019 10:56:17 UTC+1, adsapiforumadvisor wrote:
>
> Hi Sibtain,
>
> If you are trying to fetch all of the accounts associated to your email 
> address, you may use CustomerService.getCustomers() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#getcustomers>
>  without 
> specifying a clientCustomerId. This should return up to 5 accounts which 
> your OAuth2 credentials (generated using your email) has direct access. You 
> may also check this blog post 
> <https://ads-developers.googleblog.com/2016/10/access-multiple-adwords-accounts-with.html>
>  for 
> your reference.
>
> With regard to the difference between the ManagedCustomerService and 
> CustomerService, ManagedCustomerService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService#get>
>  should *return all sub accounts *with specifying an MCC as the 
> clientCustomerId in the request header (You may refer to this sample 
> <https://developers.google.com/adwords/api/docs/samples/java/account-management#get-the-account-hierarchy-under-the-current-account>).
>  
> CustomerService will return only the customer information based on the 
> clientCustomerId, or the accounts associated to the OAuth2 credentials.
>
> Please let me know if you have further concern.
>
> Regards,
> Hiroyuki
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UEFyCB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/efa59661-70f3-4ba2-82e2-502498c14afa%40googlegroups.com.

Reply via email to