For the complete documentation index, see llms.txt. This page is also available as Markdown.

SERP Localization

Learn how to get SERP results from the required geolocation.

Use the geo_location parameter to adjust the Search Engine Results Page (SERP) to show results relevant to the specified location, reflecting what users in that area would see.

Value formats

Use one of the value formats below. The last two columns show whether the format localizes results on each engine.

Format
Value pattern
Example
Google
Bing

City

City,State,Country (Google's canonical location name)

New York,New York,United States

✓

—

State

State,Country

California,United States

✓

—

Country

official country name

United Kingdom

✓

✓

ISO country code

ISO-3166 alpha-2, converted to the country name

GB

✓

✓

Coordinates + radius

lat: <lat>, lng: <lng>, rad: <metres> — for hyperlocal results such as "restaurants near me"

lat: 47.6205, lng: -122.3493, rad: 25000

✓

—

Google Criteria ID

numeric ID from Google's geotargets list

1023191

✓

—

Google

A misspelled or unrecognised geo_location value is not rejected: the request succeeds with no location applied. Double-check spelling, and use a Criteria ID when precision matters.

Additionally, consider combining the locale parameter with the correct geo_location structure. This combination enhances precision and ensures that your queries align with your intended localization preferences.

You can also use results_language, locale parameters when scraping Google. Learn more here.

Exceptions

Google Travel Hotels

  • Use city-level geo_location values (e.g., "Seattle,Washington,United States") for accurate results.

  • Wide-area values (e.g., "United States") are accepted but return hotels from across the whole area rather than one city.

  • Please refer to the attached file for a list of geo_location values that do not yield accurate results.

Bing

For Bing, geo_location localizes results at country level: pass an official country name or an ISO-3166 alpha-2 code (see the table above). City-, state- and coordinate-level values are accepted but only their country is applied.

You can also use locale parameter when scraping Bing. Learn more here.

Last updated

Was this helpful?