我一直在这个页面上测试我的数据: https://developers.google.com/webmaster-tools/search-console-api-original/v3/searchanalytics/query
与我在谷歌搜索控制台中显示的数据相比,我收到的数据似乎有所偏差。我想知道这是否可能是采样错误或我的查询不正确的结果。有关可能导致数据从 Google Search Console 更改为查询结果的任何输入?
{
"startDate": "2019-04-01",
"endDate": "2019-04-30",
"dimensions": [
"query"
],
"searchType": "web",
"dimensionFilterGroups": [
{
"groupType": "and",
"filters": [
{
"dimension": "page",
"operator": "contains",
"expression": "/about/who-we-are/community/"
}
]
}
]
}
查询数据与 Google 搜索控制台不匹配。
示例:
Google Search Console
"community"
Clicks 8
Impressions 13
Query
"community"
],
"clicks": 17.0,
"impressions": 26.0,
最佳答案
搜索控制台 UI 和 API 之间确实存在一些差异。我有类似的问题,我从谷歌找到了这些文档: https://support.google.com/webmasters/answer/7042828 https://support.google.com/webmasters/answer/7576553?hl=en&visit_id=637099209145003362-895149723&rd=1 Google 有一定的聚合方法,如果您结合页面分组从 API 查询,结果将会不同。 从用户界面: 如果一个查询在位置 2、4 和 6 处返回您的属性,则其位置将计为 2(最上面的位置)。 如果第二个查询返回位于位置 3、5 和 9 的属性,则其位置将计为 3(最上面的位置)。 这两个查询的平均排名为 (2 + 3)/2 = 2.5。
关于google-apis-explorer - 谷歌搜索控制台数据与搜索分析中的结果不匹配: query tester on the Google API Reference,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57315205/