RE: Fetching Labels using GAQL

25 views
Skip to first unread message

Google Ads API Forum Advisor

unread,
Nov 16, 2021, 11:46:43 AM11/16/21
to sumanth...@gmail.com, adwor...@googlegroups.com
Hi Sumanth,

I had to delete your message because it contained a log. Here's a copy of your message without the log:


I am using below GAQL to fetch labels from campaign, but i am receiving the below result attached.

GAQL used: SELECT campaign.labels, campaign.idcustomer.id FROM campaign.

Please let us know how can we fetch labels using GAQL.

Thanks
Sumanth


I checked your campaign in the UI and there are no labels in the campaign screen. This appears working as intended. We have a labels guide that describes many types of labels and the way to access them with the API.

If the guide cannot help you, could you send us privately a screenshot in the UI of a label combined with the correct report definition from the API that should return that label and doesn't?

Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey

Regards,
 
Google Logo
Aryeh Baker
Google Ads API Team
 


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