Search Console API:展示次数不会将总计与包含/不包含关键字进行比较 [英] Search Console API: Impressions don't add up comparing totals to contains / not contains keywords

查看:152
本文介绍了Search Console API:展示次数不会将总计与包含/不包含关键字进行比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用Search Console(网站管理员工具)API下载我们网站的搜索性能结果,以比较使用我们公司名称与非公司名称搜索进行搜索的用户的搜索性能。我们发现一个问题,在将所有搜索结果与通过特定关键字搜索结果进行比较时,展示次数没有加在一起。 例如,一份报告显示我们网站在特定日期的所有设备的所有网络结果,我们可以获得189,491次展示。如果我们报告以我们的名字这个关键词显示结果,我们会得到61,046。如果我们报告OurName(相同的关键字,但没有空格),我们得到1,086。如果我们然后报告不包含我们的名字,并且不包含我们的名字,我们会得到65,827,总计达到127,959,这意味着我们有61,532的印象丢失。有趣的是,如果我们更改过滤器上不包含也包括设备等于DESKTOP,它增加到65,997,但我会预期这将等于或小于所有设备展示次数。

根据我们的数据,这似乎在2015年11月27日停止了工作(在此之前,3个数字始终添加到总数上,日期和之后他们不)。如果我们只有一个包含而另一个不包含,那么展示次数会相加。点击总是看起来总是正确的,所以我想知道这些查询是否包含零点击数据?



我们使用.Net库来访问Search Console数据,但使用API​​ Explorer时我们会得到相同的结果。使用搜索控制台很难复制,因为这不允许包含多个不包含关键字。总数和包含我们的名字/我们的名字的数字在API和搜索控制台之间相匹配。



我在这里找到了其他一些帖子,人们也有类似的问题,但他们的日期已经过去一年多了,而且我们在过去的三周才刚刚注意到这个问题,所以我不知道这是一个新问题。



不包含的查询如下:

  POST https://www.googleapis.com / webmasters / v3 / sites / {YOUR_SITE_URL} / searchAnalytics / query?fields = rows& key = {YOUR_API_KEY} 

{
startDate:2015-12-07,
endDate:2015-12-07,
searchType:web,
dimensionFilterGroups:[
{
filters:[
{
dimension:query,
expression:我们的名字,
operator:notContains
},
{
dimension:query,
expression:ourname,
operator:notContains
}
]
}
]
}

非常感谢任何帮助



交叉从 Google Search Console论坛

解决方案

目前我在研究同一主题(不包括品牌搜索);就像Google所说的那样,他们排除了可能包含私有信息的搜索查询:


为了保护用户隐私,搜索分析不会显示所有数据。例如,我们可能不会跟踪一些只有很少次数的查询或包含个人或敏感信息的查询。


https://support.google.com/webmasters/answer/6155685?hl=zh_CN = en#tablegone



这样记住你有一大块没有查询信息的数据,所以如果你以任何方式进行过滤,整块不包括在内。
例如,我们在01.07上的总展示次数为325.000,但如果我执行两个单独的查询,其中一个包含一个,另一个包含排除,并将点击和展示的值一起添加,我会得到总数阻止我的查询生活在哪里。
在我们的情况下,大约有180.000次展示,因此我用不知道的查询进行了145k次展示,并且无法过滤它们。

在您的情况下,127,959可能是您的总展示次数(取决于您的关键字)。因此,您的非品牌流量有65,827次展示,比30%更像50%。



我希望这或多或少都可以理解。

We are using the Search Console (webmaster tools) API to download search performance results for our site to compare search performance on people searching using our company name vs non company name searches. We have found a problem where the impressions don't add up when comparing "all search results" to "search results via specific keywords".

For example, if we do a report to show all web results for all devices for our site on a specific date, we get 189,491 impressions. If we then report to show results with the keyword "Our Name" we get 61,046. If we report on "OurName" (same keyword but without spaces) we get 1,086. If we then report not contains "Our Name" and not contains "OurName" we get 65,827, which adds up to 127,959, meaning somewhere we have 61,532 impressions missing.

Interestingly, if we change the filter on not contains to also include device equals DESKTOP, it increases to 65,997, yet I would have expected this to be equal to or less than all device impressions.

From the data we have this seemed to have stopped working on the 27th November 2015 (before this the 3 figures always added up to the total, on this date and afterwards they don't). The impressions add up fine if we only do one contains and one not contains. Clicks always seem to add up correctly, so I'm wondering if one of these queries is excluding data with zero clicks?

We are using the .Net library to access the Search Console data, but we get the same results when using the API Explorer. It is hard to replicate using the search console, as this doesn't allow you to include multi "not contains" keywords. The total figures and the contains "our name" / "ourname" figures match between the API and the search console.

I've found a few other post on here where people are having similar problems but they are dated over a year ago, and we've only just noticed the problem in the last 3 weeks so I don't know if this is a new problem.

The query for the not contains is as follows:

POST https://www.googleapis.com/webmasters/v3/sites/{YOUR_SITE_URL}/searchAnalytics/query?fields=rows&key={YOUR_API_KEY}

{
 "startDate": "2015-12-07",
 "endDate": "2015-12-07",
 "searchType": "web",
 "dimensionFilterGroups": [
  {
   "filters": [
    {
     "dimension": "query",
     "expression": "our name",
     "operator": "notContains"
    },
    {
     "dimension": "query",
     "expression": "ourname",
     "operator": "notContains"
    }
   ]
  }
 ]
}

Many thanks in advance for any help

cross posted from Google Search Console Forum

解决方案

I working on the same topic at the moment (excluding brand searches); like Google say, they excluding search queries that can contain privat information:

To protect user privacy, Search Analytics doesn't show all data. For example, we might not track some queries that are made a very small number of times or those that contain personal or sensitive information.

https://support.google.com/webmasters/answer/6155685?hl=en#tablegone

With this in mind you have a big block of data with no query information, so if you filter in any way, that whole block isn't included. For example, we had like 325.000 total impressions on the 01.07., but if I do two separate queries one with including and one with excluding and add the values for clicks and impressions together, I get like the total numbers for that block where my queries living in. In our case that is around 180.000 impression, so 145k impressions were made with queries I don't know and can't filter them.

In your case the 127,959 could be your total of impressions (depending of your keywords). So your non brand traffic with 65,827 impressions is more like 50% percent than 30%.

I hope it's more or less understandable.

这篇关于Search Console API:展示次数不会将总计与包含/不包含关键字进行比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆