Skip to content

Instantly share code, notes, and snippets.

Avatar

Brainlabs BrainlabsDigital

View GitHub Profile
@BrainlabsDigital
BrainlabsDigital / Campaign Budget Overspend Monitoring
Last active Oct 10, 2020
Labels (and optionally pauses) campaigns that are overspending too much, and emails you a warning.
View Campaign Budget Overspend Monitoring
/**
*
* Campaign Budget Overspend Monitoring
*
* This script labels campaigns whose spend today is more than their daily
* budgets. Optionally, it also pauses campaigns whose spend exceeds the
* budget by too much. An email is then sent, listing the newly labelled
* and paused campaigns.
* When spend no longer exceeds budget, the campaigns are reactivated and
* labels are removed.
@BrainlabsDigital
BrainlabsDigital / Heat Map Creation Tool - with Devices.js
Created Oct 25, 2016
Script to create smoothed heat maps from your AdWords data, optionally segmented by device.
View Heat Map Creation Tool - with Devices.js
/**
*
* Heat Map Creation Tool - with Devices
*
* This script calculates the smoothed average performance of each hour of each day
* of the week, and outputs this into a heat map and graph in a Google Sheet. This
* can be done for all data and for device data. It also suggests ad schedules and
* device bid adjustments based on conversion rates.
*
* Version: 2.0
View Extended Devices, Locations and Audiences Bidding.js
/**
*
* Extended Devices, Locations and Audiences Bidding
*
* Automatically apply modifiers to your devices, locations, in-market and remarketing audiences based on performance.
* It analyses search and display campaigns only.
*
* Version: 1.0
* Google Ads Script maintained on brainlabsdigital.com
*
@BrainlabsDigital
BrainlabsDigital / Search Query Mining Tool.js
Last active Sep 3, 2020
Search Query Mining Tool script to calculate the performance of n-grams
View Search Query Mining Tool.js
/**
*
* Search Query Mining Tool
*
* This script calculates the contribution of each word or phrase found in the
* search query report and outputs a report into a Google Doc spreadsheet.
*
* Version: 2.2
* Updated 2015-09-17: replacing 'KeywordText' with 'Criteria'
* Updated 2016-10-11: replacing 'ConvertedClicks' with 'Conversions'
View In-market Audiences Bidding.js
/**
*
* In-market Audiences Bidding
*
* Automatically apply modifiers to your in-market audiences based on performance.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
**/
View AccountStructureChecker.js
/**
*
* Account Structure Checker
*
* This script will check your account for any missing keyword match types
* are output a report with the missing keywords
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
View MakePhraseMatchExact.js
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
//Options
// Use this if you want to exclude some campaigns. Case insensitive.
// For example ["Brand"] would ignore any campaigns with 'brand' in the name,
// while ["Brand","Competitor"] would ignore any campaigns with 'brand' or
// 'competitor' in the name.
// Leave as [] to not exclude any campaigns.
var campaignNameDoesNotContain = [];
@BrainlabsDigital
BrainlabsDigital / Campaign Audience Copying.js
Last active Mar 5, 2020
Script to find the campaign-level audiences used by a chosen template campaign, and apply them to all other campaigns.
View Campaign Audience Copying.js
/**
*
* Campaign Audience Copying
*
* This script takes the audiences (and audience bid adjustments) applied to one
* template campaign and applies them to all other campaigns that match the
* filters. Campaigns are then labelled.
*
* Version: 1.0
@BrainlabsDigital
BrainlabsDigital / Duplicate Ad Detector.js
Created Jul 4, 2017
Script to find and label duplicated ads
View Duplicate Ad Detector.js
/**
*
* Duplicate Ad Detector
* This script will find ads with identical text and URLs, and label
* one to keep and the rest to pause according to performance.
*
* Version: 1.0
* Google AdWords Script maintained by brainlabsdigital.com
*
**/
@BrainlabsDigital
BrainlabsDigital / Domain Name Checker.js
Created Apr 3, 2018
Script to find if any ads or keywords have landing pages with the wrong domain.
View Domain Name Checker.js
/**
*
* Domain Name Checker
*
* This script will scan through your keyword and ad URLs, checking the domain
* names for anything out of place, and output any discrepancies it finds into a
* Google Sheet.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
You can’t perform that action at this time.