My Business
2.3K members online now
2.3K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Unable to retrieve reviews for locations with > 200 reviews

[ Edited ]
Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

We are noticing that when attempting to retrieve reviews for locations with greater than 200 reviews, we are receiving empty responses back from the GMB API.

 

Here is an example request we are sending:

GET https://mybusiness.googleapis.com/v3/accounts/109038011037281628905/locations/7847534411678134555/re...

 

This location, as of 05/26/2017, has 212 reviews.

 

The response we receive back is a

200 with an empty payload.

 

Can you look into this?

Thanks

1 Expert replyverified_user

Re: Unable to retrieve reviews for locations with > 200 reviews

Google Employee
# 2
Google Employee

Hi @Samuel C,

 

Please note, you can only fetch a maximum of 200 reviews per page. Therefore, you should specify the pageSize and pageToken query parameters to paginate the reviews when listing all reviews for the specified location. You should provide a consistent pageSize query parameter because the pageSize determines the number of pages for your total results. Please make sure that the pageToken is set to the nextPageToken field value returned by a preceding call to list reviews when there were more reviews than could fit in the requested pageSize.

 

I hope this helps!

 

Thanks,

Shalini, Google My Business API team

Unable to retrieve reviews for locations with > 200 reviews

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆

Hi @Shalini S,

 

If you look at the request above, I have specified a pageSize = 200 and have code in place to utilize the pageToken should one be returned in the response. However, I am not getting a response back when querying reviews for locations that have > 200 reviews. 

 

Here is another example, this time setting pageSize=199:

https://mybusiness.googleapis.com/v3/accounts/109038011037281628905/locations/7847534411678134555/re...

 

This will still yield an empty payload.

 

Thanks,

Sam

Unable to retrieve reviews for locations with > 200 reviews

Follower ✭ ✭ ☆
# 4
Follower ✭ ✭ ☆

We are seeing the same issue as reported here. We're also querying the endpoint with a pageSize <= 200 and we get responses without a .reviews field in the JSON body:

{
"averageRating": 3.7999999523162842,
"totalReviewCount": 783
}

 

This is really becoming an issue. What is the ETA on this?

Re: Unable to retrieve reviews for locations with > 200 reviews

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

We have the same problem and it seems inconsistent across places. Would you mind giving us an ETA for this ?

Re: Unable to retrieve reviews for locations with > 200 reviews

Google Employee
# 6
Google Employee

Hi @vanderlinden j,

 

Unfortunately, I don’t have any update on issue yet. Our team is still working on this and I'll let you know as soon as they have an update on this.

 

Thanks,

The Google My Business API team

Unable to retrieve reviews for locations with &gt; 200 reviews

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Hi @Shalini S,

Is this bug still not fixed? We're experiencing what seems to be the same issue. As stated by other people, it looks like it happens only on certain places.

Thanks,

Mat

Re: Unable to retrieve reviews for locations with &gt; 200 reviews

Google Employee
# 8
Google Employee

Hi @Matthieu C,

 

We will reach out to you in a separate email thread for the location ids which are not returning all reviews.

 

Thanks,

The Google My Business API team

Unable to retrieve reviews for locations with &gt; 200 reviews

Follower ✭ ☆ ☆
# 9
Follower ✭ ☆ ☆

Hi Shalini,

 

We are still seeing this issue, here is another example for a different client:

GET https://mybusiness.googleapis.com/v4/accounts/107269792755564491793/locations/7986118554714327741/re...

 

Here is the response to the above API call:

{
"averageRating": 3.7000000476837158,
"totalReviewCount": 673

 

This listing has 673 reviews, however, we are only able to pull in the latest 200 reviews. 

 

Is there any update on this?

 

Thanks

Re: Unable to retrieve reviews for locations with &gt; 200 reviews

Google Employee
# 10
Google Employee

Hi @Samuel C,

 

Could you please confirm if this is an issue with this specific location or you are experiencing this issue with other locations as well?

 

Thanks,

The Google My Business API team