Hi Sibtain,

If you are trying to fetch all of the accounts associated to your email 
address, you may use 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 for your reference.

With regard to the difference between the ManagedCustomerService and 
CustomerService, ManagedCustomerService.get() should return all sub accounts 
with specifying an MCC as the clientCustomerId in the request header (You may 
refer to this sample). 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/wLLqE000000000000000000000000000000000000000000000PV1FLD001kyBKqGQR5y9NE3iB8nPKw%40sfdc.net.

Reply via email to