Re: LabelService equivalent in Adwords REST

48 views
Skip to first unread message
Message has been deleted

dani...@gmail.com

unread,
Jan 18, 2022, 12:13:47 AM1/18/22
to Google Ads API and AdWords API Forum

Anyone that could help me on this one?

On Monday, January 17, 2022 at 11:41:27 PM UTC+8 dani...@gmail.com wrote:
Hi,

I'm trying to convert my old code that retrieve label by name using LabelService and selector.  I'm trying to find the equivalent code in REST, im trying to use GQL

SELECT
  label.name,
  label.status,
  label.resource_name
FROM label

But I'm not getting the same values.  Am i using the correct table?

Google Ads API Forum Advisor

unread,
Jan 18, 2022, 3:47:45 AM1/18/22
to dani...@gmail.com, adwor...@googlegroups.com
Hi Daniel,

Thank you for raising your concern to my team.

To investigate and check if you are using the correct query or to suggest different approach, would you be able to provide a sample SOAP request and response logs generated in AdWords API for retrieving labels.

You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2VMeak:ref

dani...@gmail.com

unread,
Jan 19, 2022, 5:29:29 AM1/19/22
to Google Ads API and AdWords API Forum
This is now resolved, i needed to use the "customerId" under the MCC to get the campaigns.  So apparently, the MCC has no access to the labels of the accounts under it
Reply all
Reply to author
Forward
0 new messages