Activating ad copy according to certain weather conditions

29 views
Skip to first unread message

christia...@iprospect.com

unread,
Jan 7, 2015, 11:45:09 AM1/7/15
to adwords...@googlegroups.com
Hi team,

Our client would like certain ad copy to be triggered during certain weather conditions. I've seen plenty of bid adjustment scripts according to weather conditions but none about triggering ad copy or activating certain campaigns. Is this possible?!

Thanks,

Christian

Anash Oommen

unread,
Jan 12, 2015, 12:08:31 AM1/12/15
to adwords...@googlegroups.com
Hi Christian,

Most of the weather scripts out there is based off https://developers.google.com/adwords/scripts/docs/solutions/bid-by-weather. That script adjusts the bids based on the weather of a location, but you can modify this script to make ad copies, activate campaigns, etc.

If you look at the applyRulesForCampaign method, you can see a block that looks like this:

if (evaluateWeatherRules(weatherConditionRules, weather)) {
  // your logic goes here
}

You can replace the call to adjustBids method to do whatever logic you want your script to perform.

Cheers,
Anash P. Oommen,
AdWords Scripts Team.
Reply all
Reply to author
Forward
0 new messages