Skip to content

Instantly share code, notes, and snippets.

Brainlabs BrainlabsDigital

View GitHub Profile
@BrainlabsDigital
BrainlabsDigital / Ad Rotate Analysis.js
Last active Jan 5, 2018
Script to find the best ad in each ad group, and find what performance you could have got if the losing ads' impressions had gone to the winner instead.
View Ad Rotate Analysis.js
/**
*
* Ad Rotate Analysis
*
* This script finds the best ad in each ad group (subject to thresholds) and
* calculates the performance you could have got if the impressions that went to
* losing ads went to the winning ads instead.
*
* Version: 1.1
* Updated 2016-10-11: removed 'ConvertedClicks'
@BrainlabsDigital
BrainlabsDigital / Duplicate Query Checker.js
Created Dec 19, 2016
Creates a report detailing which search queries are triggering multiple ad groups.
View Duplicate Query Checker.js
/**
*
* Duplicate Query Checker
*
* Creates a report detailing which searches are triggering multiple ad groups.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
*/
@BrainlabsDigital
BrainlabsDigital / CharityUnderspendingScript.js
Created Mar 12, 2019
Prevent grant accounts on Google Ads from underspending by activating extra keywords when the account is below budget.
View CharityUnderspendingScript.js
/**
*
* This tool prevents your account from underspending by enabling a set of
* labeled keywords when the account's spending is below budget.
* If the account begins to spend over budget, these keywords are paused.
*
*/
function main() {
@BrainlabsDigital
BrainlabsDigital / Expanding Phrase Match Negatives.js
Created Jun 8, 2018
Script to find potential negatives based on search queries that contain an existing phrase negative.
View Expanding Phrase Match Negatives.js
/**
*
* Expanding Phrase Match Negatives
*
* This script searches for all occurrences of phrase match negatives in search
* queries resulting from typos. Outputs a report to a Google Doc spreadsheet.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
@BrainlabsDigital
BrainlabsDigital / Pause Losing Ads.js
Created Apr 27, 2018
Script to find and label the best performing ads in each ad group, and label/pause the others.
View Pause Losing Ads.js
/**
*
* Pause Losing Ads & Ad Rotate Analysis
*
* This script finds the best ad in each ad group (subject to thresholds) and
* calculates the performance you could have got if the impressions that went to
* losing ads went to the winning ads instead.
* Labels the winning and losing ads, and (optionally) pauses the losers.
*
* Version: 2.0
@BrainlabsDigital
BrainlabsDigital / Copy Labels Between Keywords and Ads.js
Created Dec 15, 2017
Copies labels from ads to keywords in the same ad group, or from keywords to ads.
View Copy Labels Between Keywords and Ads.js
/**
* Copying Labels From Keywords To Ads Or Vice-Versa
*
* If a certain percentage of keywords (or ads) are labelled with a particular
* label within an ad group, the script applies the label to all ads (or
* keywords) in that ad group.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*/
@BrainlabsDigital
BrainlabsDigital / Associated Search Analysis.js
Created Sep 21, 2017
Mines the search query report to find phrases that appear in the same searches as user specified text
View Associated Search Analysis.js
/**
*
* Associated Search Analysis
*
* This script takes in a list of pieces of text, and finds the words and
* phrases that appear in the same search queries as that text. The found
* phrases and the performance of the queries they appear in are then reported
* in a Google Doc spreadsheet.
*
* Version: 1.0
@BrainlabsDigital
BrainlabsDigital / Ad-jective Analysis Tool.js
Created Jul 31, 2017
Mines the search query report to find the performance of a list of user-defined phrases.
View Ad-jective Analysis Tool.js
/**
*
* Ad-jective Analysis Tool
*
* This script calculates the performance of user-defined phrases in the search
* query report, and outputs a report into a Google Doc spreadsheet.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
@BrainlabsDigital
BrainlabsDigital / Check If You've Screwed Up Your AdWords Account v2.js
Last active May 3, 2019
Script to check keyword, ad and extension text for basic errors or out-of-date messaging.
View Check If You've Screwed Up Your AdWords Account v2.js
/**
*
* AdWords Script for keyword and ad checking.
* Checks keyword text for punctuation suggesting the wrong match type, checks
* broad match keywords for missing BMM. Checks ad, sitelink and callout text
* for text that suggests ads are out-of-date (like previous years and seasonal
* events) and for common English spelling mistakes.
*
* Version: 2.1
* Updated 2017-01-05: changed 'CreativeApprovalStatus' to 'CombinedApprovalStatus'
@BrainlabsDigital
BrainlabsDigital / Copy Labels Between Levels.js
Created May 8, 2017
Copies labels from one sort of entity to another, eg from campaign to ads within that campaign, or from keywords to the ad groups that contain them.
View Copy Labels Between Levels.js
/**
*
* Copying Labels Between Levels
*
* This script applies labels from campaigns or ad groups to entities contained
* within them, or takes labels applied to keywords, ads or ad groups and applies
* them to the campaigns or ad groups that contain them.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
You can’t perform that action at this time.