This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var api_key = "YOUR_SERPAPI_KEY_HERE"; // Replace with your actual SerpAPI key | |
var fixedLocation = 'United States'; // Replace with your location | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('SERP Update') | |
.addItem('Update SERP Info', 'updateSerpInfo') | |
.addToUi(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You must set SerpAPI private API Key | |
// https://serpapi.com/dashboard | |
var api_key = "YOUR_SERPAPI_KEY_HERE"; // Replace with your actual SerpAPI key | |
var fixedDomain = 'example.com'; // Replace with your domain | |
var fixedLocation = 'United States'; // Replace with your location | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
// Create a menu with a name (e.g., 'SERP Update') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//menu | |
function onOpen() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Manual Update') | |
.addItem('Import Keywords', 'importKws')//Copy to add additional functions | |
.addToUi(); | |
} | |
var SEARCH_QUERY = "from:noreply@getstat.com subject:Download your STAT report: " //stat report email address and subject | |
var COMPANY_NAME = "MacMillan Search" //company name variable that we put in parentheses when we create the report in Stat | |