Skip to content

Instantly share code, notes, and snippets.

View adaminfinitum's full-sized avatar

Adam Powell adaminfinitum

View GitHub Profile
@adaminfinitum
adaminfinitum / keybase.md
Created October 22, 2020 01:43
Keybase Verification

Keybase proof

I hereby claim:

  • I am adaminfinitum on github.
  • I am adaminfinitum (https://keybase.io/adaminfinitum) on keybase.
  • I have a public key whose fingerprint is 49B3 B01C 67CC 5D6E E478 500A CD76 E12A BBD3 5B56

To claim this, I am signing this object:

@adaminfinitum
adaminfinitum / find_anomalies_script.js
Created April 24, 2019 08:18 — forked from russorat/find_anomalies_script.js
This is a version of the Find Anomalies in You Account script found here: http://goo.gl/IT1UcV
function Anomalies() {
/**************************************
* Find the Anomalies
* Created By: Russ Savage
* Version: 1.2
* Changelog v1.2
* - Fixed divide by 0 errors
* - Changed SIG_FIGS to DECIMAL_PLACES
* Changelog v1.1
* - Added ability to tag ad anomalies as well
@adaminfinitum
adaminfinitum / gdn-placement-analysis
Created April 24, 2019 07:43 — forked from derekmartinla/gdn-placement-analysis
Find Underperforming Placements & Opportunities On Google Display Network
// This script reviews your GDN placements for the following conditions:
// 1) Placements that are converting at less than $40
// 2) Placements that have cost more than $50 but haven't converted
// 3) Placements that have more than 5K impressions and less than .10 CTR
function main() {
var body = "<h2>Google Display Network Alert</h2>";
body += "<h3>Placements that are converting at less than $40:</h3> " ;
body += "<ul>";
@adaminfinitum
adaminfinitum / google-autocomplete
Created April 24, 2019 07:40 — forked from derekmartinla/google-autocomplete
AdWords Script That Leverges Google Autocomplete
/**********************************************************************************************************************
* Brand Keyword Analysis Google
* Leverages the Google Autocomplete feature to find potential keyword opportunities and negative keywowrds
* Version 1.0
* Created By: Derek Martin
* DerekMartinLA.com or MixedMarketingArtist.com
**********************************************************************************************************************/
var hashMapResults = {};
var numOfKeywords = 0;
@adaminfinitum
adaminfinitum / gclid-tracker
Created April 24, 2019 07:39 — forked from derekmartinla/gclid-tracker
Track Adwords Gclid Ids
var GOOGLE_DOC_URL = "URL";
function main() {
clicks = runCampaignReport();
modifySpreadSheet(clicks);
}
function runCampaignReport() {
@adaminfinitum
adaminfinitum / check-for-disapproved-ads
Created April 24, 2019 07:38 — forked from derekmartinla/check-for-disapproved-ads
Use Twilio & Google Docs To Check For Disapproved Ads
/***************************************************************************************
* AdWords Account Audit -- Check Ads for disapprovals -- text if there are open issues
* Version 1.0
* Created By: Derek Martin
* DerekMartinLA.com
****************************************************************************************/
// This script was heavily inspired by Russell Savage so all credit where its due!
// Sign up at Twilio.com and get an API key (sid) and Auth code and place here
// Url: https://www.twilio.com/
/***********************************************************************************************
* AdWords Account Optimization - Review Google Display Network Site Placement Quality.
* Analyze Display Network Placements that have accrued more than $20 of cost MTD against
* Standard SEO metrics (PageAuthority, DomainAuthority, # of Backlinks, Age of Site) and report back
* Any questionable placements that are strong targets for exclusion.
* Created By: Derek Martin
* DerekMartinLA.com
****************************************************************************************/
// CONSTANTS
@adaminfinitum
adaminfinitum / search-queries-in-google-docs
Created April 24, 2019 07:37 — forked from derekmartinla/search-queries-in-google-docs
Perform Search Query Analysis In One Google Doc
/**********************************************************************************************
* AdWords Account Management -- Review Search Queries & Post Adjustments via Google Docs.
* Version 1.0
* Created By: Derek Martin
* DerekMartinLA.com & MixedMarketingArtist.com
*********************************************************************************************/
var GOOGLE_DOC_URL = "put your url here";
var START_DATE = '20150401';
var END_DATE = '20150415';
@adaminfinitum
adaminfinitum / elite-404-checker
Created April 24, 2019 07:36 — forked from derekmartinla/elite-404-checker
Elite Adwords Destination Url 404 Checker
var email_address = 'derek@wpromote.com';
function main() {
var urlList = runUrlReport();
urlList = _.uniq(urlList, function(item, key, url) {
return item.url;
});
var listOfBrokenUrls = [];

Chapter 2 - The Absolute Minimum JavaScript You Need To Know

Introduction

This chapter introduces the JavaScript language in the most efficient way possible. We'll explore the basics of JavaScript syntax, statements, variables, data structures, data types, functions, decision logic, regular expressions, and finish the tour by introducing the JavaScript Object.

Ground Rules

It's important to note that the goal of this chapter is not to make you an expert in JavaScript (or JS for short). Such a goal would be unbecoming of a language that is as rich and complex as JavaScript. Rather, the goal is to give you just enough knowledge so that you can painlessly follow the rest of the book. Below are several great books for those who would like to grow their JavaScript knowledge: