Skip to content

Instantly share code, notes, and snippets.

View MicrowaveJak's full-sized avatar
💭
Living la vida quarantine

Trevor Miller MicrowaveJak

💭
Living la vida quarantine
View GitHub Profile
@MicrowaveJak
MicrowaveJak / budget_checker.js
Created April 19, 2017 14:40
AdWords Budget Checker
var resultsUrl = "ENTER URL HERE" //Should be a configured COPY of this template (check 'Data' sheet): https://docs.google.com/spreadsheets/d/1c5vQWC8VPF8G0mDqvlWG-CB6xo3Vt4eSDg4l7Vbokmo/edit
var notify = false; //Leave as false
function main () {
var ss = SpreadsheetApp.openByUrl(resultsUrl);
var results = [];
checkBudgets(ss,results);
Logger.log("Done checking");
if (notify) {
notifyAm(ss,results);