Agora a API Search Analytics é compatível com Discover, Google Notícias e regex
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Segunda-feira, 25 de outubro de 2021
Os relatórios de desempenho do Google Search Console já mostram dados sobre a Pesquisa,
o Discover e o Google Notícias para proprietários de sites com esse tipo de tráfego. Desde que lançamos os relatórios de desempenho do Discover
e do Google Notícias, recebemos solicitações de
usuários para adicionar essas estatísticas à API Search Analytics.
Temos o prazer de anunciar que esse dia chegou.
O parâmetro searchType
, que antes permitia filtrar as chamadas de API por news
,
video
, image
e web
, será renomeado como
type
e será compatível com dois parâmetros adicionais: discover
no Discover e
googleNews
no Google Notícias. Embora tenhamos renomeado o parâmetro como type
,
ainda aceitamos o nome antigo, searchType
.
Nos relatórios de desempenho do Search Console, algumas métricas e dimensões são compatíveis somente com alguns tipos de dados. Por exemplo, consultas e posições não são compatíveis
com o relatório do Google Discover. Da mesma forma, se uma dimensão não for solicitada, a API retornará uma mensagem de erro.
Além disso, adicionamos compatibilidade com regex às dimensões de página e consulta.
Dois novos operadores serão adicionados às operações de correspondência atuais: includingRegex
e excludingRegex
.
Confira a documentação da API Search Analytics para saber mais.
Em caso de dúvidas, entre em contato pela comunidade da Central da Pesquisa ou
no Twitter.
Postado por Ziv Hodak e Roman Priborkin, da equipe do Search Console
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
[null,null,[],[[["\u003cp\u003eGoogle Search Console's Search Analytics API now includes data for Discover and Google News, alongside existing Search data.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003esearchType\u003c/code\u003e parameter is renamed to \u003ccode\u003etype\u003c/code\u003e and supports new values \u003ccode\u003ediscover\u003c/code\u003e and \u003ccode\u003egoogleNews\u003c/code\u003e for filtering data.\u003c/p\u003e\n"],["\u003cp\u003eUnsupported dimensions with certain data types will result in error messages from the API, aligning with the Search Console Performance reports' behavior.\u003c/p\u003e\n"],["\u003cp\u003eRegex support is added to the API's query and page dimensions with new operators \u003ccode\u003eincludingRegex\u003c/code\u003e and \u003ccode\u003eexcludingRegex\u003c/code\u003e for enhanced filtering.\u003c/p\u003e\n"]]],["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"],null,["# Search Analytics API now supports Discover, Google News, and Regex\n\nMonday, October 25, 2021\n\n\nThe Google Search Console [Performance reports](https://support.google.com/webmasters/answer/7576553) already show data about Search,\nDiscover, and Google News to site owners that have this type of traffic. Since we launched the [Discover](https://support.google.com/webmasters/answer/9216516)\nand [Google News](https://support.google.com/webmasters/answer/10083653) performance reports, we've been receiving requests from\nusers to also add these stats to the [Search Analytics API](/webmaster-tools/search-console-api-original/v3/searchanalytics).\nWe are happy to announce that this is happening today.\n\n\nThe `searchType` parameter, which previously enabled you to filter API calls by `news`,\n`video`, `image`, and `web`, will be renamed to\n`type` and will support two additional parameters: `discover` (for Google Discover) and\n`googleNews` (for Google News). Please note that while we renamed the parameter to `type`,\nwe're still supporting the old name `searchType`.\n\n\nIn 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\nthe Google Discover report. In the same way, if an unsupported dimension is requested, the API will return an error message.\n\n\nIn addition, we are adding [Regex support](/search/blog/2021/06/regex-negative-match) to the query and page dimensions.\nTwo new operators will be added to the existing match operations: `includingRegex` and `excludingRegex`.\n\n\nCheck out the [Search Analytics API documentation](/webmaster-tools/search-console-api-original/v3/searchanalytics/query) to learn more.\nIf you have any questions, you can ask in the [Search Central community](https://support.google.com/webmasters/community) or\n[on Twitter](https://twitter.com/googlesearchc).\n\n\nPosted by [Ziv Hodak](/search/blog/authors/ziv-hodak) and Roman Priborkin, Search Console team"]]