Google Search Console API Gains Discover & Google News Data With Regex Support

Oct 26, 2021 - 7:51 am 0 by

Google Star Structure Colors

Google added to the Search Console Search Analytics API Discover and Google News data that it added to the web interface earlier this year. Google also added support for Regex with the query and page dimensions.

As a reminder, in January Google Search Console added a news performance report and in 2019 Google added Discover reports to Search Console and gained more data in February. But SEOS wanted the data in the API. Also, in April Google added Regex support to the web interface.

These are now all available in the Search Analytics API. Google said the searchType parameter, which previously enabled you to filter API calls by news, video, image, and web, will be renamed to type and will support two additional parameters: discover (for Google Discover) and googleNews (for Google News). Please note that while we renamed the parameter to type, we’re still supporting the old name searchType.

In the Search Console Performance reports, some metrics and dimensions are compatible only with some data types; for example, queries and positions are not supported by the Google Discover report. In the same way, if an unsupported dimension is requested, the API will return an error message.

click for full size

Plus, with the new Regex support in the API, you can use it for query and page dimensions. Two new operators were added to the existing match operations and are includingRegex and excludingRegex.

So this news ended up causing a lot of confusion because not everything was fully live when it was announced:

But we are almost there:

And now done:

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Google Core Update Flux, AdSense Ad Intent, California Link Tax & More - YouTube
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google March Core Update Still Rolling Out & Heated SEO Chatter Continue

Apr 25, 2024 - 7:51 am
Google

Report: How Prabhakar Raghavan Killed Google Search

Apr 25, 2024 - 7:41 am
Google Search Engine Optimization

Google Favicon Documentation Adds Rel Attribute Value Definitions

Apr 25, 2024 - 7:31 am
Google Ads

Google Ads API Version 16.1 Now Available

Apr 25, 2024 - 7:21 am
Google Search Engine Optimization

Google: Splitting & Merging Sites Takes Longer Than Normal Site Migrations

Apr 25, 2024 - 7:11 am
Search Forum Recap

Daily Search Forum Recap: April 24, 2024

Apr 24, 2024 - 4:00 pm
Previous Story: Google Says Non-AMP Page Throttling & Other AG Paxton's Claims Baseless