Transition from SOAP API to REST API

28 views
Skip to first unread message

Stef van den Berg

unread,
Apr 8, 2022, 4:28:27 AM4/8/22
to Google Ads API and AdWords API Forum
Hi All,

I have the following question:
In the SOAP UI the ManagedCustomerService returned the customer with the managed customers and the labels attached to them in one call.

In the REST API we are using the googleAds:search endpoint, but this means that we have to do a minimum of 2 calls and 1 per label as well. Am I missing something in the implementation or is this the only way to retrieve the information we need?

Kind regards,

Stef

Google Ads API Forum Advisor

unread,
Apr 8, 2022, 10:31:35 AM4/8/22
to vandenb...@gmail.com, adwor...@googlegroups.com
Hi Stef,

Thank you for raising this concern to the Google Ads API support team.

With regard to your concern, upon checking in our document, I am afraid that your observation is correct that you'll need to make 2 API calls. First, you need to use the customer_client and include the customer_client.applied_labels. Then, to get the full details of the applied labels you need to utilize the label

Best regards,
Google Logo
Jinky
Google Ads API Team
 


ref:_00D1U1174p._5004Q2ZL3hJ:ref
Reply all
Reply to author
Forward
0 new messages