Skip to content

Instantly share code, notes, and snippets.

@jonathanmooredigital
jonathanmooredigital / xpath-to-discovery.txt
Created April 21, 2023 08:57
April 2023 Brighton SEO Xpath Examples
/*
========================================================================
Brighton SEO April 2023 - The XPath to Discovery
https://www.linkedin.com/in/moorejonathan/
https://twitter.com/nathanless
========================================================================
*/
@BrainlabsDigital
BrainlabsDigital / Search Query Mining With Quality Score.js
Last active March 29, 2024 14:03
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.
/**
*
* 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
*
import csv
import calendar
'''
CSV to CLF log file formatter
Ben Shepherd
Go Fish Digital
August 2018
'''
@mbaersch
mbaersch / adwords-script-gurkenfinder.js
Last active October 20, 2020 08:36
Identifizieren von schlecht performenden Keywords und Produkten in AdWords
/**************************************************************/
/****** "Gurkenfinder"-Script für Google AdWords *******/
/**************************************************************/
/* v1.4 2020 Markus Baersch (@mbaersch)
Reduzierte Non-MCC-Fassung
gandke marketing & software - www.gandke.de */
/*********** Start Setup **********************/
var emailAddress = "mailadresse@hier.eintragen";
@RitwikGA
RitwikGA / AdwordsCPAScanner
Created May 10, 2017 13:22
Scan CPAs across dimensions
/* Adwords CPA Scanner
* Description: Scan Campaigns,AdGroups,Devices,AdNetworks for High CPAs.
* Author:RitwikGA
* Copyright 2016 v1.1
* Digishuffle.com
*/
function main()
{
var AccountName=AdWordsApp.currentAccount().getName()
@Michaelcgn
Michaelcgn / jsDeleteReferal.js
Created October 12, 2016 08:58
JS Delete Referral for Google Tag Manager
function deleteReferral(referrer) {
// More info: go.zedwoo.de/deleteReferral
// To specifically mean the dot, use \\.
// It should start with regex: Add ^ at beginning
// It should end with regex: Add $ at end
// Optional character: Add ? after character
var referrals = [
'slashless.com$',
@klubbing
klubbing / Search Query Mining Tool.js
Created June 27, 2016 07:18 — forked from BrainlabsDigital/Search Query Mining Tool.js
Search Query Mining Tool script to calculate the performance of n-grams
/**
*
* 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.1
* Last updated 2015-09-17
* Google AdWords Script maintained on brainlabsdigital.com
@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
// Granular Anomaly Detector Script
//
// Copyright 2016-2019 - Optmyzr Inc - All Rights Reserved
// Visit www.optmyzr.com for more AdWords Scripts and PPC Management Tools and Reports
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
@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