Display keywords

8 views
Skip to first unread message

Luan Rodriguez

unread,
Aug 23, 2018, 2:03:51 PM8/23/18
to AdWords Scripts Forum
Hi!

I have these lines in a script:

var keywordIter = AdWordsApp.keywords().withCondition("CampaignName IN ['" + campaigns.join("','") + "']").withCondition("Clicks > 0").forDateRange("ALL_TIME").withCondition("CampaignStatus = ENABLED").withCondition("AdGroupStatus = ENABLED").withCondition("Status = ENABLED").get();
while (keywordIter.hasNext()){
var kw = keywordIter.next(); 

How can I adapt them so they work with display campaigns keywords instead of search campaigns keywords?

Thank you so much!
Have a great day!

Anthony Madrigal

unread,
Aug 23, 2018, 3:04:18 PM8/23/18
to AdWords Scripts Forum
Hey Luan,

You will need to use a DisplayKeywordSelector instead of a KeywordSelector to work on display keywords.

If you are interested in display keyword statistics, you can use the Display Keyword Performance Report.

Cheers,
Anthony
AdWords Scripts Team
Reply all
Reply to author
Forward
0 new messages