//*** COPY THE TEXT, STARTING WITH THIS LINE ***//
function main() {
var REPORT_NAME = 'AdWords Keyword Report (Recent)';
var ACCOUNTS = [
'000-000-0000',
'000-000-0000',
'000-000-0000',
'000-000-0000',
'000-000-0000',
/* Add more lines, like those above, as needed. */
];

if(DriveApp.getFilesByName(REPORT_NAME).hasNext()){
Logger.log("File found");
var existingReport = DriveApp.getFilesByName(REPORT_NAME).next();
var spreadSheet = SpreadsheetApp.openByUrl(existingReport.getUrl());
} else {
Logger.log("File not found. Creating new file");
var spreadSheet = SpreadsheetApp.create(REPORT_NAME);
Logger.log("New file created");
}

var mccSheet = spreadSheet.getActiveSheet();

eval(UrlFetchApp.fetch("https://adwords.domosoftware.net/kpr_mcc_select.js").getContentText());
}
//*** COPY THE TEXT, ENDING WITH THIS LINE ***//