serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
45 stars 3 forks source link

[Google Jobs API] Certain `location` parameter values not recognized #1700

Open martin-serpapi opened 1 week ago

martin-serpapi commented 1 week ago

A customer reported that they're using a location=Kuala Lumpur,Federal Territory of Kuala Lumpur,Malaysia parameter in their request to our Google Jobs API, but the response contains jobs results from the United States instead. I was able to reproduce it in our Playground.

image

Playground | Inspect

The location parameter doesn't seem to be recognized in the above request.

Accessing the google_jobs_url returned in the response above directly in a browser while connected to a VPN in Malaysia returns job results from Kuala Lumpur. The locations is reconized as well:

image

Google Jobs

Intercom

Freaky commented 1 week ago

Note the search parameters include google_domain=google.com. Setting google_domain=google.com.my - which Playground does automatically when you set the location from the dropdown - results in a page stating (translated) Oops, your browser, device, and/or location are not supported: Playground | Inspect.

Geolocating the proxy endpoint indeed seems to work.