Subhash Deshmukh
Subhash Deshmukh

Reputation: 360

Can not get all searchAnalytics Data using Google Console Search API

I am using Google Console Search API to extract the search Analytics data. I am using query() method for retrieving data.
Parameters:

startDate: '2017-05-10'

endDate: '2017-05-10'

dimensions: ['date','query','page','country','device']

aggregationType: byPage

rowLimit: 1000

startRow: 0.

It should give me 1000 records, right? But I am getting less no of records(853). what could be the reason?

While reading the documentation I have come across that when we use date in dimension group and if we don't have data for that day then the row is excluded from result set. Is this the reason?

Any help would be appreciated. Thanks

Upvotes: 2

Views: 1567

Answers (2)

Tanktiger
Tanktiger

Reputation: 80

Check out my answer for getting more results here: https://stackoverflow.com/a/45628911/2527200

I noticed, that requesting for page and query at the same time results in less results. You should request only query or page in the dimensions.

Upvotes: 2

johnyT
johnyT

Reputation: 59

I think You can search for 1000 urls by one account. RowLimit is the maximum number of rows to return. The API does not support paged results. Default is 1,000

Upvotes: 0

Related Questions