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.

AttributeTriplelift RequiredTypeDescription
latnofloatLatitude from -90 to 90, where a negative value is south
longnofloatLongitude from -180 to 180, where a negative value is west
typenointegerSource of location data; recommended when passing lat and long
countrynostringCountry code using ISO-3166-1-alpha-3
regionnostringRegion code using ISO-3166-2
metronostringGoogle metro code
citynostringCity using United Nations Code for Trade and Transport Locations
zipnostringZip or postal code
utcoffsetnointegerLocal time as the number +/- of minutes from UTC
extnoobjectPlaceholder for exchange-specific extensions to OpenRTB