Geo Object Properties¶
The information provided in the Geo Object is based on MaxMind database, except latitude and longitude values.
Note
Fields marked with an asterisk (*) are optional.
Value |
Type |
Description |
---|---|---|
accuracy* |
int |
Estimated location accuracy in meters. |
lat* |
float |
Latitude from -90 to 90. South is negative, for example, |
lon* |
float |
Longitude from -180 to 180. West is negative, for example, |
type* |
integer |
Source of location data as defined by OpenRTB, for example, |
country* |
string |
Country using ISO-3166-1 Alpha-2, for example |
region* |
string |
Region using ISO-3166-2 region codes, for example, |
city* |
string |
City name. |
metro* |
string |
Google metro code; similar to but not exactly Nielsen DMAs. |
zip* |
string |
Zip/postal code, for example, |
utcoffset* |
integer |
Local time as the number +/- of minutes from UTC, for example, |
Geo Object Example¶
{
"geo": {
"country": "US",
"region": "NY",
"city": "City Name",
"zip": "10601",
"utcoffset": -240
}}