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

Search Video Recaps

 
- YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: December 18, 2024

Dec 18, 2024 - 10:00 am
Google Search Engine Optimization

Video On Google Exploit With End Points Reveal Interesting Ranking Signals

Dec 18, 2024 - 7:51 am
Google Search Engine Optimization

Forbes Fires Freelancers Over Google's Site Reputation Abuse Policy

Dec 18, 2024 - 7:41 am
Google

Google Search Tests Rich Things To Do Image Carousel

Dec 18, 2024 - 7:31 am
Google

Google Search Shadow On Hover Of Search Results

Dec 18, 2024 - 7:21 am
Google Ads

Google Ads Tests Double Serving Ads From Same Advertiser On Same Page

Dec 18, 2024 - 7:11 am
Previous Story: Google: The December 2020 Core Update Is Still Rolling Out