E-Mail Kontakt - Tel: 02192 / 91 89 921
    Impressum | Datenschutz

AdWords scripts for account monitoring (AdWords monitoring)

These AdWords scripts enable you to monitor your AdWords accounts and be notified by e-mail in the event of unusual metrics. You define the parameters for the script here on the website. The only other thing you have to do is copy your individual AdWords monitor to the clipboard and paste it into your AdWords account.
NO knowledge of the AdWords script is required!

 Account monitoring

There are various AdWords scripts, some of which can create impressive reports including charts. Our AdWords scripts, in contrast, are a streamlined solution that notifies you by e-mail about potential problems with your AdWords account/s.

  • Are certain metrics from the last x days noticeably deviating for a given trial period?
  • Could it be that no more ads are being placed because a credit card has expired?
  • Were CPCs inadvertently defined to be 50 euros instead of 50 cents or bids increased by 100% instead of 10%?

Example

AdWords Monitor

 Monitoring AdWords metrics at the campaign and account level

The "comparePeriodsAndSendMail" function examines metrics such as cost, number of conversions, cost per click, position, etc. Here, for example, you can define that costs may differ by up to 70% when comparing the metrics of "yesterday to the day before yesterday", while defining that this deviation must not exceed 30% when comparing the "last 7 days to the 7 days before that".
You can also be notified about certain metrics on the first of every month, for example.
The "comparePeriodsAndSendMail" function is handy for daily execution.

 Monitoring costs at the account level

The "checkAccountCostAndSendMail" function is much easier to use. Here you simply define the minimum and maximum range within which the costs of an account are allowed to vary.
Automatic checking of the previous day is sufficient for most accounts. However, those who manage high budget accounts can, of course, have a check carried out automatically several times a day to monitor whether the AdWords costs are going off course in case, for example, 50 euros were bid for a keyword instead of 50 cents. In that case, the period from "YESTERDAY" to "TODAY" must be changed.

 Monitoring cost per click at the ad group and keyword level

The "checkCpcAndSendMail" function checks the defined and actually generated cost per click for keywords and ad groups.
The current AdWords interface provides the option of adjusting bids on a percentage basis for regions, times, devices and at various other positions. The defined maximum CPC for keywords or ad groups is thus not always very informative.
The execution of this function is the same as for "checkAccountCostAndSendMail".


 Instructions

  1. Configuring what you would like to monitor
  2. Copy the code under "AdWords Script" to the clipboard
  3. Create a new AdWords script in AdWords and paste in the code
  4. Save and test (click Preview button)
  5. Tip: Create a schedule and have it executed, for example, daily at 1:00.
  6. Please like and share this page as a sign of thanks and encouragement :-)
     

 Configuring AdWords monitoring

E-mail address for alerts

Configuring monitoring

 



 
Costs yesterday are between and , otherwise an alert is sent
 
Maximum CPC of , otherwise an alert is sent

 AdWords Script

// free Account Monitor AdWords-Script (https://www.internet-marketing-inside.de/AdWords-Scripts/AdWords-Monitoring.html // Copyright data-inside GmbH / no warranty / ohne Gewähr
var g_sMailAddress = ""; // error reports are send to this address
var g_sAccountUrl = "https://adwords.google.com"; // copy URL from browser to link directly to your account in error mails
var g_sAccountName = AdWordsApp.currentAccount().getName(); // used in emails reporting errors
 
function main() {
 var sVersionDataInside = "1.3";
 var url = "https://tools.internet-marketing-inside.de/adwords-monitor.js";
 eval(UrlFetchApp.fetch(url).getContentText());
 try {
   DATAINSIDE.AdWordsApi.comparePeriodsAndSendMail("DEFAULT03");
   DATAINSIDE.AdWordsApi.checkAccountCostAndSendMail({minCost:, maxCost:, period:"YESTERDAY"});
   DATAINSIDE.AdWordsApi.checkCpcAndSendMail({maxCpc:, maxAverageCpc:, period:"YESTERDAY"});
 } catch (e) { try {MailApp.sendEmail(g_sMailAddress, "Exception in Script 'Account Monitor' - "+AdWordsApp.currentAccount().getName(), "Exception: "+e.message+"\r\nStacktrace:\r\n"+e.stack);} catch (e2) {Logger.log(e2.message);} throw e; }
} 

Copyright and disclaimer

This AdWords Scripts lib can be used by anyone at no charge. Use is granted without guarantee or liability. Redistribution of this code or derived code is prohibited.

Update information, questions, feedback

Updates will be announced on our Google+ Page.


Instructions: Paste AdWords monitor script into AdWords account

Please configure the AdWords monitor at the top with your details first.
Then copy the AdWords script from the gray box to the clipboard.
Then go into your AdWords account and proceed step by step, as shown:
AdWords Scripts Installation

Holger Schulz alias admigo

I look forward to your feedback:-)