public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

[Google Maps API] "takeaway under $20" retuning results from different couttry

Open arunzone opened this issue 8 months ago • 3 comments

Google Map search "takeaway under $20" returning results from different country.

Screenshot with red annotations.

Image Image

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

arunzone avatar Apr 22 '25 04:04 arunzone

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 avatar Apr 22 '25 04:04 hilmanski

@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

  1. usual query ex. "takeaway under $20"
  2. 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?

arunzone avatar Apr 23 '25 18:04 arunzone

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.

hilmanski avatar Apr 23 '25 21:04 hilmanski

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.

ocvit avatar Dec 15 '25 15:12 ocvit