Streamline SEO Workflow with GSC API for Multi-Site Reporting

May 08, 2024 at 9:04:06 AM

TL;DR The article provides a guide to streamline SEO workflow using Google Sheets and Google Search Console (GSC) API. It offers a 10-step process to create a script for multi-site reporting, pulling and comparing clicks and impressions data year over year. The steps include creating a Google Sheets file, setting up the sheet, creating a Google Cloud Console Data Project, creating Apps Scripts in Google Sheets, and setting up access credentials.

Streamline SEO Workflow with GSC API for Multi-Site Reporting

Automate Multi-Site Reporting With Google Sheets And GSC API

Ludwig Makhyan, co-founder at MAZELESS, shares a 10-step process to automate multi-site reporting using Google Sheets and Google Search Console (GSC) API.

  1. Create Your Google Sheets: Create a new Google Sheets file in your Google Drive.

  2. Setting Up Your Google Sheet: Add headers in Row 1 such as Website, Niche, Clicks, Impressions, YoY Clicks, YoY Impressions, Clicks % Difference, Impressions % Difference.

  3. Create A Google Cloud Console Data Project: Create a new project in Google Cloud Console and enable Google Search Console API.

  4. Create Apps Scripts In Google Sheets: Integrate the Apps Script into the Google Sheet. Copy the provided code and paste it into your Apps Script project.

  5. Set Up The Access Credentials: Set up Access Credentials in the Google Cloud Console. Enable the Google Search Console API and add users who have access to GSC.

  6. Set Up Google Cloud Project For GSC Data: Copy the Project number from the Google Cloud Project and paste it into the Google Cloud Platform (GCP) Project section in your Apps Script tab.

  7. Rename Your Google Apps Script: Rename your Apps Script to "My GSC Data Project Script."

  8. Edit Google Apps Manifest File For Code.gs Script: Replace the content of the appsscript.json file with the provided script.

  9. Adjust The Dates For Website Data Analysis: Specify the start and end dates for data analysis in your Google Sheets file.

  10. Set Conditional Formatting For Non-Empty Cells Less Than Zero: Add conditional formatting to the “Clicks % Difference” and “Impressions % Difference” columns.

After these steps, you can input your Google Search Console properties in column A and run or refresh the report using the special menu Search Console > Fetch Data. The script supports about 150 domains, but can be adjusted for more. This process turns days of gathering data and running reports into a few minutes and can be expanded to perform other calculations or gather more data for your report. Automating reports streamlines tedious tasks and makes managing SEO data easier.

Q&A

Have more questions on this topic? Ask our AI assistant for in-depth insights.

The Only Digital Marketing Feed You'll Ever Need.

Stay informed your way. Tailored updates when and how you want them. 100% Free.

10,000+ Users

500+ Sources

1000+ Tools

Or

Related Posts

Google Lighthouse Audits Transition to Performance Insight Audits with Major Changes

Google Lighthouse Audits Transition to Performance Insight Audits with Major Changes

Chrome for Developers
Chrome for Developers

Official Source

Official Source

Chrome for Developers is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Marketing Workflow Templates

Marketing Workflow Templates

Featured
Markifact
Markifact

Verified Sponsor

Verified Sponsor

Markifact is a Verified Sponsor. Want to get featured here? Contact us.

Verified Sponsor
Google corrects Google News crawler documentation error regarding publisher preferences

Google corrects Google News crawler documentation error regarding publisher preferences

Google for Developers
Google for Developers

Official Source

Official Source

Google for Developers is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Apple updates Applebot documentation clarifying crawler differences and data usage

Apple updates Applebot documentation clarifying crawler differences and data usage

Apple
Apple

Official Source

Official Source

Apple is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Google updates documentation for Google-Extended user agent and product token description

Google updates documentation for Google-Extended user agent and product token description

Google for Developers
Google for Developers

Official Source

Official Source

Google for Developers is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Google updates Merchant Center documentation on energy efficiency and certification

Google updates Merchant Center documentation on energy efficiency and certification

Google for Developers
Google for Developers

Official Source

Official Source

Google for Developers is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Google to Drop Support for Special Announcement Structured Data by July 2025

Google to Drop Support for Special Announcement Structured Data by July 2025

Google for Developers
Google for Developers

Official Source

Official Source

Google for Developers is a Official Source. The source has been verified by Swipe Insight team.

Official Source
Google to Redirect Country Code Domains to Google.com Trending ️‍🔥

Google to Redirect Country Code Domains to Google.com

Google
Google

Official Source

Official Source

Google is a Official Source. The source has been verified by Swipe Insight team.

Official Source

Related Tools

Markifact logo

Markifact

Verified Tool

Verified Tool

Markifact is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Marketing Workflows Powered by AI

Featured
Marketing Auditor logo

Marketing Auditor

Verified Tool

Verified Tool

Marketing Auditor is a Verified Tool. Want to get this badge? Contact us.

Verified Tool

Automated audits for Google Ads and Analytics.

Get Featured Here

Showcase your tool in this list.

Contact Us
Ahrefs logo

Ahrefs

SEO tools to boost traffic and rank higher

SEO
Surfer SEO logo

Surfer SEO

SEO content creation and optimization made easy

SEO
Sitebulb logo

Sitebulb

Efficient website crawler for better SEO audits

SEO
Big Metrics logo

Big Metrics

Transform GSC data into actionable SEO insights

Reporting
Screpy logo

Screpy

AI-Powered SEO and Web Analysis Simplified

SEO
Blogify logo

Blogify

Convert multimedia to SEO-optimized blogs fast

SEO
Answer the Public logo

Answer the Public

Unlock Consumer Insights for Content Creation

SEO
SEO Writing AI logo

SEO Writing AI

AI-powered SEO content in 1 click

SEO

Get Featured Here

Showcase your tool in this list.

Contact Us