We are migrating to use Google Ads API, as per migrating service guide 
<https://developers.google.com/google-ads/api/docs/migration/services>; we 
were previously (Google AdWords API) using getCustomers 
<https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#getcustomers>
 to 
get a list of Customers for a User.

It seems that to do the same in  Google Ads API,  we need to use 
listAccessibleCustomers 
<https://developers.google.com/google-ads/api/reference/rpc/v7/CustomerService> 
to 
get a list of individual customer resources, and then make individual get 
calls to get each customer, and then join responses in a list.

There are two issues though:

   - get requests seems to be a no-no as per Access Level Permissible use 
   <https://developers.google.com/google-ads/api/docs/access-levels>. Above 
   approach will lead to the quota exhausted really quickly.
   - network chatter and processing needed significantly increased - if 
   user has 20 Customers, then 20 individual get requests will be made

Is there a better way to get a list of Customers for a User in Google Ads 
API?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32e3d23d-10c6-472f-a746-0b2710bea894n%40googlegroups.com.

Reply via email to