Skip to content

Instantly share code, notes, and snippets.

@oltarasenko
Last active July 30, 2021 07:20
Show Gist options
  • Save oltarasenko/61e92dbf8e46fcfb2c9fcc22e6658232 to your computer and use it in GitHub Desktop.
Save oltarasenko/61e92dbf8e46fcfb2c9fcc22e6658232 to your computer and use it in GitHub Desktop.
// This function creates a new spreadsheet with a given name and returns active sheet (so data can be inserted there)
function createSheet(name){
var accountName = AdWordsApp.currentAccount().getName();
var spreadsheet = SpreadsheetApp.create(name);
return spreadsheet
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment