Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main() {
- var KEYWORDS_TO_PAUSE = ['example keyword 1', 'example keyword 2'];
- var iterator = AdsApp.keywords()
- .withCondition('CampaignStatus = ENABLED')
- .withCondition('AdGroupStatus = ENABLED')
- .withCondition('Status = ENABLED')
- .get();
- while (iterator.hasNext()) {
- var keyword = iterator.next();
- if (KEYWORDS_TO_PAUSE.indexOf(keyword.getText()) > -1) {
- keyword.pause();
- }
- }
- }
Advertisement
Comments
-
- Link: https://developers.google.com/google-ads/scripts/docs/your-first-script
-
- glitch cash
-
- Link: https://replit.com/
- Link v2: https://uptimerobot.com/
-
- Go Link to Link v2
-
- Link: https://youtu.be/tSy5kESxHkU
Add Comment
Please, Sign In to add comment
Advertisement