Reputation: 187
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? I also checked the domain properties and they are the same.
Upvotes: 2
Views: 429
Reputation: 187
I used the wrong "siteUrl" for the query. When trying to get your data from a "example.com" domain (without www. in front), your siteUrl is sc-domain:example.com.
Upvotes: 2