Skip to content

Instantly share code, notes, and snippets.

@emrecan-s
emrecan-s / Code.gs
Last active April 7, 2022 13:58 — forked from abfo/Code.gs
How to monitor page index status using the Google Search Console API and Apps Script in a Google Sheet. For instructions on how to configure this script please see https://ithoughthecamewithyou.com/post/monitor-page-index-status-with-google-sheets-apps-script-and-the-google-search-console-api
/*Steps to Run
1-) Open appscripts and than go to project settings, enable show "appsscript.json" manifest file in editor
2-)Go to Editor and open appsscript.json replace it with following
{
"timeZone": "America/New_York",
"exceptionLogging": "STACKDRIVER",
"oauthScopes": ["https://www.googleapis.com/auth/script.external_request", "https://www.googleapis.com/auth/webmasters", "https://www.googleapis.com/auth/spreadsheets.currentonly", "https://www.googleapis.com/auth/script.send_mail"],
"runtimeVersion": "V8"
}