Skip to content

Instantly share code, notes, and snippets.

@BrainlabsDigital
BrainlabsDigital / Extension and List Copying.js
Created September 5, 2016 09:02
Script to find the campaign extensions and shared lists used by a chosen template campaign, and apply them to all other campaigns.
/**
*
* Extension and List Copying
*
* This script takes the ad extensions, shared campaign negative lists and excluded
* placement lists applied to one template campaign and applies them to all other
* campaigns that match the filters. Campaigns are then labelled.
*
* Version: 1.0
* Google AdWords Script maintained on brainlabsdigital.com
@BrainlabsDigital
BrainlabsDigital / Check If You've Screwed Up Your AdWords Account.js
Last active May 3, 2019 01:24
Script to check keyword and ad text for basic errors or out-of-date messaging.
/**
*
* 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 text for text that suggests
* ads are out-of-date (like previous years) and for common English spelling
* mistakes.
*
* Version: 1.1
* Updated 2017-01-05: changed 'CreativeApprovalStatus' to 'CombinedApprovalStatus'
@BrainlabsDigital
BrainlabsDigital / Broad match keyword aggregating.js
Last active May 3, 2019 01:24
Script to aggregate your broad match keywords
/**
*
* 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 / Check For Empty Ad Groups.js
Last active June 3, 2019 18:11
Script to check the number of ads and keywords in ad groups.
/**
*
* 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 / Landing Page Contents Checker.js
Created December 4, 2015 09:40
Script to check landing pages for phrases like 'out of stock'
/**
*
* AdWords Script for checking the contents of landing pages.
* Goes to the final URL of keywords or ads, then searches the source code for
* user defined strings.
*
* Version: 1.0
* Google AdWords Script maintained by brainlabsdigital.com
*
**/
@BrainlabsDigital
BrainlabsDigital / Domain Name Checker.js
Created April 3, 2018 09:44
Script to find if any ads or keywords have landing pages with the wrong domain.
/**
*
* 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
@BrainlabsDigital
BrainlabsDigital / Duplicate Ad Detector.js
Created July 4, 2017 09:49
Script to find and label duplicated ads
/**
*
* 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 / Campaign Audience Copying.js
Last active March 5, 2020 17:02
Script to find the campaign-level audiences used by a chosen template campaign, and apply them to all other campaigns.
/**
*
* 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 / Hourly Email Updates
Last active January 12, 2021 00:07
Script to email you hourly with the cost/performance so far today.
/**
*
* Hourly Email Updates
*
* This script emails you every hour with totals for selected performance metrics (like cost)
* for your account for the day so far.
*
* Version: 1.1
* Updated 2016-10-11: removed 'ConvertedClicks'
* Google AdWords Script maintained on brainlabsdigital.com
@BrainlabsDigital
BrainlabsDigital / Expanding Phrase Match Negatives.js
Created June 8, 2018 15:27
Script to find potential negatives based on search queries that contain an existing phrase negative.
/**
*
* 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
*