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 Search Console now tracks AI Mode data affecting traffic metrics Trending ️‍🔥

Google Search Console now tracks AI Mode data affecting traffic metrics

Google
Google

Official Source

Official Source

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

Official Source
Google Launches Audio Overviews in Search Labs for Easier Result Consumption

Google Launches Audio Overviews in Search Labs for Easier Result Consumption

Google
Google

Official Source

Official Source

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

Official Source
Google Retires Seven Structured Data Features to Streamline Search Results

Google Retires Seven Structured Data Features to Streamline Search Results

Google Search Central
Google Search Central

Official Source

Official Source

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

Official Source
Google Ads Monthly Slides with AI Insights

Google Ads Monthly Slides with AI Insights

Featured
Markifact
Markifact

Verified Sponsor

Verified Sponsor

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

Verified Sponsor
AI Marketing Insights from Google I/O 2025 on Smarter Search Tools

AI Marketing Insights from Google I/O 2025 on Smarter Search Tools

AI Google I/O +1 more
Think with Google
Think with Google

Official Source

Official Source

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

Official Source
Google Removes Robots.txt Guidance for Translated Pages in Documentation Update

Google Removes Robots.txt Guidance for Translated Pages in Documentation Update

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 offers buyouts to US employees in Search and other divisions Trending ️‍🔥

Google offers buyouts to US employees in Search and other divisions

Google Search adds loyalty program support in Organization and Product markup Trending ️‍🔥

Google Search adds loyalty program support in Organization and Product markup

Google Search Central
Google Search Central

Official Source

Official Source

Google Search Central 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