Search Analytics API が Discover、Google ニュース、正規表現をサポート
2021 年 10 月 25 日(月曜日)
Google Search Console のパフォーマンス レポートでは、関連するトラフィックが発生しているサイト所有者に、検索、Discover、Google ニュースに関するデータがすでに表示されています。Discover と Google ニュースのパフォーマンス レポートがリリースされて以来、これらの統計情報を Search Analytics API にも追加してほしいというご要望をユーザーの皆様からいただいております。このたび、このようなご要望が実現することになりました。
これまで API 呼び出しを news
、video
、image
、web
でフィルタできた searchType
パラメータの名前を type
に変更し、discover
(Google Discover 用)と googleNews
(Google ニュース用)という 2 つのパラメータを追加でサポートします。パラメータの名前は type
に変更されましたが、以前の名前 searchType
も引き続きサポートされます。
Search Console のパフォーマンス レポートでは、一部の指標とディメンションは一部のデータタイプにのみ対応しています。たとえば、クエリと掲載順位は Google Discover レポートではサポートされていません。同様に、サポートされていないディメンションがリクエストされた場合、API はエラー メッセージを返します。
さらに、クエリとページのディメンションに正規表現のサポートを追加します。既存の一致の操作に、includingRegex
と excludingRegex
という 2 つの新しい演算子が追加されます。
詳しくは、Search Analytics API のドキュメントをご覧ください。ご不明な点がありましたら、検索セントラル コミュニティまたは Twitter でお問い合わせください。
Posted by Ziv Hodak and Roman Priborkin, Search Console team
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
[null,null,[],[[["Google Search Console's Search Analytics API now includes data for Discover and Google News, alongside existing Search data."],["The API's `searchType` parameter is renamed to `type` and supports new values `discover` and `googleNews` for filtering data."],["Unsupported dimensions with certain data types will result in error messages from the API, aligning with the Search Console Performance reports' behavior."],["Regex support is added to the API's query and page dimensions with new operators `includingRegex` and `excludingRegex` for enhanced filtering."]]],["Google Search Console's API now includes data for Google Discover and Google News, accessible via new `discover` and `googleNews` parameters within the renamed `type` parameter (formerly `searchType`). The API will return an error if unsupported dimensions are requested. Regex support has been added to query and page dimensions, with `includingRegex` and `excludingRegex` operators. Users can learn more through documentation and the Search Central community.\n"]]