|
||||||
var query = 'SELECT ad_group_criterion.labels FROM keyword_view'; // The second argument is optional. var result = AdsApp.search(query, {apiVersion: 'v8'}); while (result.hasNext()) { var row = result.next(); // You can log row to see how the results objects are represented // Logger.log(row); Logger.log(row.adGroupCriterion.labels); }If the keywords labels are still not showing, kindly provide the following so I can raise this with the rest of the team:
Hello Harry,
thanks a lot! Now it is possible to get the resource name of the label, like „customers/3584302488/labels/10319660".
Is it also possible to get the names of the labels?
Greetings
Martin
--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit
https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads Scripts Forum" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/adwords-scripts/xDkRBQ27glY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
adwords-scrip...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-scripts/XpfWC000000000000000000000000000000000000000000000QVJZ0P00gX1iETCxTtGYyFNnKklQDw%40sfdc.net.
var query = 'SELECT label.name FROM label WHERE label.resource_name = "customers/3584302488/labels/10319660"';
|
||||||