Skip to content

Instantly share code, notes, and snippets.

Avatar

Brainlabs BrainlabsDigital

View GitHub Profile
@BrainlabsDigital
BrainlabsDigital / Low Quality Score Alert.js
Created May 30, 2018
Script to email you if you have low quality score keywords, and optionally label/pause them
View Low Quality Score Alert.js
/**
*
* Low Quality Score Alert
*
* This script finds the low QS keywords (determined by a user defined threshold)
* and sends an email listing them. Optionally it also labels and/or pauses the
* keywords.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
View Ad Copy Length Analysis.js
/**
* Ad Copy Length Analysis
*
* Download an ad performance report for the account and break up the
* information and aggregate by component lengths. This will create a sheet for
* Headline1, Headline2, Headline3, Description1, Description2, Path1, Path2
* and Headline/Description/Path, which concatenates the respective components.
*
* Google Ads Script
* @author Brainlabs
@BrainlabsDigital
BrainlabsDigital / Change in Campaign Spending Alert.js
Created Jul 25, 2018
Script to alert you if a campaign's spend has changed dramatically
View Change in Campaign Spending Alert.js
/**
*
* Change in Campaign Spending Alert
*
* This script uses the current hour to calculate how much has been spent on
* individual campaigns on the day of running. The average spend up to the
* current hour in a specified numbers of days previously is averaged. If the
* spend today is higher by a specified percentage threshold an alert email
* is sent.
*
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 / ExactMatchScriptUpdated.js
Created Nov 2, 2018
Create negatives where search queries are too dissimilar to the keywords they trigger. Based on containing the same words and/or edit distance.
View ExactMatchScriptUpdated.js
/**
*
* Make Exact Match Exact
*
* Adds negatives for any search query that doesn't actually exactly match an exact
* match keyword.
*
* Version: 2.0
* Google AdWords Script maintained on brainlabsdigital.com
*
@BrainlabsDigital
BrainlabsDigital / BudgetDepletionWarner.js
Created Feb 19, 2019
Sends email warnings when more than a given percentage of campaign's budgets has been spent.
View BudgetDepletionWarner.js
function main() {
var CAMPAIGN_NAME_CONTAINS = [];
// Use this if you only want to look at some campaigns.
// For example ["Generic"] would only look at campaigns with 'generic' in the name,
// while ["Generic", "Competitor"] would only look at campaigns with either
// 'generic' or 'competitor' in the name.
// Leave as [] to include all campaigns.
var CAMPAIGN_NAME_EXCLUDES = [];
// Use this if you want to exclude some campaigns.
@BrainlabsDigital
BrainlabsDigital / Check For Empty Ad Groups.js
Last active Jun 3, 2019
Script to check the number of ads and keywords in ad groups.
View Check For Empty Ad Groups.js
/**
*
* AdWords Script to check the number of entities in ad groups: reports ad
* groups with no ads, no keywords, too few ads or too many keywords.
* Optionally reports ad groups with no mobile preferred ads, and ad groups
* with broad match keywords but no negative keywords.
*
* Version: 1.1
* Updated 2017-01-05: changed 'CreativeApprovalStatus' to 'CombinedApprovalStatus'
* Google AdWords Script maintained by brainlabsdigital.com
@BrainlabsDigital
BrainlabsDigital / Search Query Mining With Quality Score.js
Last active May 22, 2019
Search Query Mining With Quality Score 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.
View Search Query Mining With Quality Score.js
/**
*
* Search Query Mining With Quality Score 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: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
*
@BrainlabsDigital
BrainlabsDigital / Broad match keyword aggregating.js
Last active May 3, 2019
Script to aggregate your broad match keywords
View Broad match keyword aggregating.js
/**
*
* Broad-match keyword aggregator script
* This script will group equivalent broad match keywords and label based on performence
*
* Version: 1.1
* Updated 2016-10-11: replaced 'ConvertedClicks' with 'Conversions'
* Google AdWords Script maintained by brainlabsdigital.com
*
**/
@BrainlabsDigital
BrainlabsDigital / Heat Map Creation Tool.js
Last active May 3, 2019
Script to create smoothed heat maps from your AdWords data
View Heat Map Creation Tool.js
/**
*
* Heat Map Creation Tool
*
* 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. It
* also makes suggested bid adjustments based on the conversion rate.
*
* Version: 1.1
* Updated 2016-10-11: removed 'ConvertedClicks'.
You can’t perform that action at this time.