AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Ads
4.5K members online now
4.5K members online now
Dive into advanced features like Remarketing, Flexible Bid Strategies, AdWords Editor, and AdWords Scripts
Guide Me
star_border
Reply

How do I create this Adwords script

Follower ✭ ✭ ☆
# 1
Follower ✭ ✭ ☆

I am looking for a script that will calculate my average account-level spend on a rolling 7 day average, and send an alert by email and SMS when the daily account spend has exceeded the previous 7 day average by 25% or more.

Does anyone have a script like this, or can someone create it?

AdWords Script – Requirements
The script needs to perform the following steps:
* check the account level spend of the current day
* determine if the daily spend (cost) of the account is 25% higher than the average of the past 7 days account level spend
* If YES -> send an email to xxx
* If YES -> send an SMS to xxx
* If YES -> send an email to xxx
* If YES -> send an SMS to xxx
* run script hourly
* ad spend must equal (total account cost > average daily account cost t7 + 25%) for script to run

Documentation for AdWords Scripts can be found here:
https://developers.google.com/adwords/scripts/docs/your-first-script

How do I create this Adwords script

[ Edited ]
Badged Google Partner
# 2
Badged Google Partner

These guys should be able to help you out: https://groups.google.com/forum/#!forum/adwords-scripts