Last active
August 29, 2015 13:57
-
-
Save vhsu/487be0363734dfe55528 to your computer and use it in GitHub Desktop.
Adwords Script - Modify TargetedLocation Bids
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Author Vincent Hsu @suisseo | |
| // In this example the targeted location bids are increased by 10% (0.10) | |
| var locationSelector = AdWordsApp.targeting() | |
| .targetedLocations() | |
| //.withCondition("CampaignName CONTAINS_IGNORE_CASE 'somecampaignName'") | |
| var locationIterator = locationSelector.get(); | |
| while (locationIterator.hasNext()) { | |
| var location = locationIterator.next(); | |
| //Increase TargetedLocation Bids | |
| location.setBidModifier(location.getBidModifier() + 0.10) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment