Hi,Dannison I have the same problem. I try to find the CustomerService.getCustomers() method, but in the documentation I only find CustomerService.getCustomer method, which get detail this current MCC accout. at the moment can't solve my problem.
Regards, Life 在 2019年5月23日星期四 UTC+8下午2:57:13,adsapiforumadvisor写道: > > Hi Jesús, > > Thank you for reaching out. > > Based from your post, I can see that you wish to retrieve all customer > names under a MCC account. Unfortunately, there is not direct way to > implement this in the Google Ads API. The best option I can think of is to > use the CustomerService.ListAccessibleCustomers() > <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#customerservice> > method > and retrieve the list of clientCustomerIds under that MCC account. After > this, you might have to iterate through the list and use the > CustomerService.getCustomers() to get the descriptive_name field for the > customer account name. > > Let me know if you have further clarifications. > > Regards, > Dannison > Google Ads API Team > > ref:_00D1U1174p._5001UAqNRN: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 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8b402ce4-1f24-426f-8e89-8df182efb19c%40googlegroups.com.