Skip to content

Instantly share code, notes, and snippets.

@robinwo
robinwo / creativetesting.js
Created April 29, 2014 15:43
Automated creative testing
/*********************************************
* Automated Creative Testing With Statistical Significance
* Version 2.0
* Changelog v2.0
*   - Fixed bug in setting the correct date
*   - Script now uses a minimum visitors threshold
*        per Ad instead of AdGroup
*   - Added the ability to add the start date as a label to AdGroups
*   - Added ability to check mobile and desktop ads separately
* Changelog v1.1.1 - Fixed bug with getDisplayUrl
@robinwo
robinwo / brokenlinks.js
Created April 29, 2014 13:00
Find broken links (AdWords)
/**************************************
* 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
* FreeAdWordsScripts.com
@robinwo
robinwo / track.js
Created April 17, 2014 06:43
AdRoll track conversion (add to segment)
try {
__adroll.record_user({ adroll_segments : 'segment_name' });
} catch(err) {}
@robinwo
robinwo / track.js
Created April 17, 2014 06:41
Unbounce track form conversion
lp.jQuery('form').submit( function(e){
// your function goes here
});
@robinwo
robinwo / panels.css
Last active December 2, 2015 20:02
Bootstrap Panels Nav
.nav-sidebar {
margin-right: -21px; /* 20px padding + 1px border */
margin-bottom: 20px;
margin-left: -20px;
}
.nav-sidebar > li > a {
padding-right: 20px;
padding-left: 20px;
}
.nav-sidebar > .active > a {