Monday, October 25, 2021
The Google Search Console Performance reports already show data about Search, Discover, and Google News to site owners that have this type of traffic. Since we launched the Discover and Google News performance reports, we’ve been receiving requests from users to also add these stats to the Search Analytics API. We are happy to announce that this is happening today.
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.
In addition, we are adding Regex support to the query and page dimensions. Two new operators will be added to the existing match operations: includingRegex
and excludingRegex
.
Check out the Search Analytics API documentation to learn more. If you have any questions, you can ask in the Search Central community or on Twitter.
Posted by Ziv Hodak and Roman Priborkin, Search Console team
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[{ “type”: “thumb-down”, “id”: “missingTheInformationINeed”, “label”:”Missing the information I need” },{ “type”: “thumb-down”, “id”: “tooComplicatedTooManySteps”, “label”:”Too complicated / too many steps” },{ “type”: “thumb-down”, “id”: “outOfDate”, “label”:”Out of date” },{ “type”: “thumb-down”, “id”: “samplesCodeIssue”, “label”:”Samples / code issue” },{ “type”: “thumb-down”, “id”: “otherDown”, “label”:”Other” }] [{ “type”: “thumb-up”, “id”: “easyToUnderstand”, “label”:”Easy to understand” },{ “type”: “thumb-up”, “id”: “solvedMyProblem”, “label”:”Solved my problem” },{ “type”: “thumb-up”, “id”: “otherUp”, “label”:”Other” }]
Leave feedback about this