[英]Google Search Console API is returning no data
I am getting empty data when trying to query the data.尝试查询数据时得到空数据。
Request Params:请求参数:
{
"startDate": "2021-07-24",
"endDate": "2021-10-04",
"aggregationType": "AUTO",
"dataState": "ALL",
"rowLimit": 20,
"searchType": "WEB"
}
Response:回复:
{
"rows": [
{
"clicks": 0,
"impressions": 0,
"ctr": 0,
"position": 0
}
],
"responseAggregationType": "byProperty"
}
In the Search Console I can clearly see the amount of clicks and impressions but why I am receiving zero data for this timeframe?在 Search Console 中,我可以清楚地看到点击次数和展示次数,但为什么我在此时间范围内收到的数据为零? I also checked the domain properties and they are the same.
我还检查了域属性,它们是相同的。
I used the wrong "siteUrl" for the query.我在查询中使用了错误的“siteUrl”。 When trying to get your data from a "example.com" domain (without www. in front), your siteUrl is sc-domain:example.com.
尝试从“example.com”域(前面没有 www.)获取数据时,您的 siteUrl 是 sc-domain:example.com。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.