Google Ads API: Migrating ManagedCustomerService to CustomerClientService

27 views
Skip to first unread message

micha...@openslate.com

unread,
Apr 9, 2019, 6:06:19 PM4/9/19
to AdWords API and Google Ads API Forum
Hi,

I've followed the Google Ads API migration guide and we are in the process of migrating functionality related to ManagedCustomerService in AdWords to CustomerClientService in the new API. Our current use case is to use a manager account to fetch a list of client accounts. However I'm unsure as to how to fetch the metadata for the list of customers returned by CustomerClientService. In ManagedCustomerService, I would get back a list of ManagedCustomer objects type. In the new API, the CustomerClientService does not seem to have all the fields. However I did notice that CustomerService in new API did have similar set of fields to ManagedCustomer. How can I get fields for client accounts in the new API? Thanks in advance.

Best,
Michael Xue

googleadsapi...@google.com

unread,
Apr 10, 2019, 2:55:36 AM4/10/19
to AdWords API and Google Ads API Forum
Hi Michael,

I am afraid that there is no direct way to get the other details (such as the one in the customer resource) besides the resource name of the customer_client. The customer resource can only be selected to get the details of the account currently used for running the service.

Let me know if you have further clarifications.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@googlegroups.com.
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/c0e86712-d62f-4ef9-ad37-29ee9bf7c09c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages