Geo Object¶
Note
Fields marked with asterisk (*) are optional.
Parameter
|
Type
|
Description
|
---|---|---|
accuracy* |
integer |
Estimated location accuracy in meters. |
lat* |
float |
Latitude from -90 to 90. South is negative, for example, 52.35. |
lon* |
float |
Longitude from -180 to 180. West is negative, for example, 4.9167. |
type* |
integer |
Source of location data as defined by OpenRTB, for example, 1. |
country* |
string |
Country using ISO-3166-1 Alpha-2, for example NL. |
region* |
string |
Region using ISO-3166-2 region codes, for example, NY. |
city* |
string |
City name as provided by MaxMind, for example, Alkmaar. |
metro* |
string |
Google metro code; similar to but not exactly Nielsen DMAs. |
zip* |
string |
Zip/postal code, for example, “90210”. |
utcoffset* |
string |
Local time as the number +/- of minutes from UTC, for example, -240. |
Geo Object Example¶
{
"geo": {
"country": "US",
"region": "NY",
"city": "White Plains",
"zip": "10601",
"utcoffset": -240
}}