Skip to content

Instantly share code, notes, and snippets.

@OrenBochman
Created May 14, 2016 12:11
Show Gist options
  • Save OrenBochman/9fc3400579665e4ba68ba1cc45137508 to your computer and use it in GitHub Desktop.
Save OrenBochman/9fc3400579665e4ba68ba1cc45137508 to your computer and use it in GitHub Desktop.
adwords script
function main() {
/*
Make a copy of the spreadsheet listed below and save it to your own Google Drive.
Template - https://docs.google.com/spreadsheet/ccckey=0Ao4Qdm9yCtaGdHpiWmpYSWoxcE9Wd0dEV0xDY3l5UGc#gid=0
Take the url of your new spreadsheet and enter it in the ssURL field below
*/
var ssURL = "spreadsheet.com";
var codeURL = "https://s3.amazonaws.com/ppc-hero-tools/daily-metrics-log.js";
var code = "";
function getCode(url) {
var stuff = UrlFetchApp.fetch(url).getContentText();
return stuff;
}
var code = getCode(codeURL);
eval(code);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment