Country, subdivision, city, zipcode
Geotargeting rules
countrykey must always persist if any of the geo parameters is specified. Otherwise, HTTP 400 is returned.- If more than one geo key is specified, the server finds an appropriate node strictly matching all the parameters. The only exception is
zipcode: if specified,citykey is ignored.- Details:
- If both subdivision and zipcode are provided, the city is ignored.
- If both zipcode and city are provided, the city is ignored.
- If subdivision and city are provided, both are strictly matched.
- Details:
Zipcode Notes
For the following countries, we accept partial postal codes with the number of characters indicated below:- United States: 5
- Canada: 3
- United Kingdom: 2-4
- Brazil: 5
- Ireland: 3
- Japan: 7 (specified for the first 6. The last digit defaults to 1)
- Netherlands: 4
- Portugal: 7 (accurate for the first 4. The last 3 often default to -001)
- Singapore: 2