Geo Object

This object encapsulates methods for specifying a geographic location. When subordinate to the Device Object, it indicates the location of the device which can also be interpreted as the user's current location. When subordinate to the User Object, it indicates the user's home base, not necessarily their current location.

Attribute

Triplelift Required

Type

Description

lat

no

float

Latitude from -90 to 90, where a negative value is south

long

no

float

Longitude from -180 to 180, where a negative value is west

type

no

integer

Source of location data; recommended when passing lat and long

country

no

string

Country code using ISO-3166-1-alpha-3

region

no

string

Region code using ISO-3166-2

metro

no

string

Google metro code

city

no

string

City using United Nations Code for Trade and Transport Locations

zip

no

string

Zip or postal code

utcoffset

no

integer

Local time as the number +/- of minutes from UTC

ext

no

object

Placeholder for exchange-specific extensions to OpenRTB