[Google Maps API] "takeaway under $20" retuning results from different couttry
Google Map search "takeaway under $20" returning results from different country.
Screenshot with red annotations.
Details about the bug: I searched for places from Melbourne, Australia. Google maps is giving results close to the proximity of the given gps coordinates Serpapi - gogle map search api returns result from Florida, USA
Public links: Playground Documentation https://serpapi.com/playground?engine=google_maps&q=Takeaway+under+%2420&ll=%40-37.8660416%2C145.1486213%2C15z&hl=en&type=search&newPara=gl+gl=au
Please let me know if you need further details Thanks
Hi @arunzone thank you very much for your report. We're aware that sometimes, Google Maps uses the proxy IP instead of the ll coordinates. Can you please try using the area/city name on your query, like "takeaway under $20 in Melbourne"? Assuming that your use case allows it.
@hilmanski Thanks for sharing the insights. I can use location in query, but it may give results far away from current user location, so it may not be that helpful. At this stage i can think of firing 2 request
- usual query ex. "takeaway under $20"
- if results were out of range -f fire another query with location ex. "takeaway under $20 in Melbourne"
Firing 2 requests one after another is going to affect performance and cost. Is there a way to get it achieved in single request?
Thanks for the update. Unfortunately, we don't have any way to combine 2 requests into a single request. I mean to keep the ll coordinate + add the area/city name in the query, so hopefully Google Maps still respects the ll coordinate.
Hi @arunzone! I've tested this search with the latest Google Maps setup. Redirection from search to place happens in 5/1000 (0.5%) of searches. Place and address are the same in all cases - Garlicboyz Pizza and kebab - Mount Waverley at 316 Stephensons Rd, Mount Waverley VIC 3149, Australia.