Skip to content

Instantly share code, notes, and snippets.

Brainlabs BrainlabsDigital

View GitHub Profile
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 / 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 / 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 / Search Query Mining With Quality Score.js
Last active Apr 24, 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
*
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
*
**/
@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
*
View AccountStructureChecker.txt
/**
*
* 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
*
@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.
*
@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 / 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
You can’t perform that action at this time.