Google Search Console API Gets Fresher Data, News Filter & More

Dec 10, 2020 - 8:01 am 1 by

Google Search Console Api

Google has updated the Google Search Console API to give us faster and fresher data, the ability to filter data based on the news filter, domain property support in Sitemaps and guidelines on how to migrate the Discovery document.

A lot of this may stem from the groundwork Google set when the company upgraded the API infrastructure for the Search Console API. Back them Google said there were "currently no changes in scope or functionality" but now e are getting them.

Fresh Data Now In The Google Search Console API

Google in September 2019 gave us fresher data for the performance reports in Google Search Console, and then in December 2019 that fresh data came to Discover reports. Well, now the API can show you that data as well.

Just note, the fresh data is "not final" and when you get the final set of that data, the numbers can change, Google said.

To access this fresh data, make sure to pass the request parameter dataState with value set to all. The data you get for this value will also include fresh data that is not yet final. If you wish to get only final data, you can either pass this parameter with value set to final or not pass it at all and you will get only final data by default, Google said.

News Filter In The Google Search Console API

In July 2020 Google added a news filter option in the performance reports in Search Console. You can now also access that data in the API.

Google said "This information is now also available in the API, and you can access it by setting the value of searchType parameter in the request to news."

Domain Property Support In Sitemaps API

I am surprised this one took this long, Google added domain property verification and views back in February 2019. Domain properties lets you set up a new verified property in Search Console that it lets you combine multiple properties in Search Console into one, to see an aggregate view of the data.

The Sitemaps API now supports domain properties, as other Search Console APIs already do. You can query, add, and delete your sitemaps on domain properties, for example:

GET https://www.googleapis.com/webmasters/v3/sites/sc-domain:example.com/sitemaps

Discovery Doc Migration

Google said it will drop the support in the Webmasters discovery document. Google said for those querying the Search Console API using an external API library, or querying the Webmasters API discovery document directly, you will need to update your API calls to include the following changes.

Here is a screen shot of those changes:

Google Search Console Api Update

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google November 2024 Core Update Heats Up This Weekend

Nov 17, 2024 - 8:10 am
Search Forum Recap

Daily Search Forum Recap: November 15, 2024

Nov 15, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google November 2024 Core Update, AI Overview Hyperlinks, SEO, Ads, AdSense & More

Nov 15, 2024 - 8:01 am
Google Maps

Google Maps Search For Products Nearby Carousel

Nov 15, 2024 - 7:51 am
Google

iPhone Gets Native Google Gemini App

Nov 15, 2024 - 7:41 am
Google

Google Chrome To Spotlight Merchant Center Promotions

Nov 15, 2024 - 7:31 am
Previous Story: Google: The December 2020 Core Update Is Still Rolling Out