You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords Scripts Forum
Hi,
I'm having some trouble with working with the setting URLs at the keyword level when using Google Scripts. Here's a sample of what I am running:
function main() { var keywordSelector = AdWordsApp.keywords() .withCondition('FinalUrls = ""') .forDateRange("TODAY") .orderBy("Clicks DESC");
var keywordIterator = keywordSelector.get(); while (keywordIterator.hasNext()) { var keyword = keywordIterator.next(); var keywordId = keyword.getId();
That should do the trick. Also, as an unrelated suggestion I would recommend to add withIds to your selector instead of doing it in the while loop. This will help to optimize your code.
Thanks, Tyler Sidell AdWords Scripts Team
Brian Park
unread,
Aug 25, 2015, 5:13:41 PM8/25/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message