Geo.lastfix

How many seconds ago the location fix was taken, as an integer. Added in OpenRTB 2.4.

CurrentintegerOptionalSince 2.4

Field facts

Path
device.geo.lastfix, user.geo.lastfix
Object
Geo
Type
integer
Requirement
Optional
Added
OpenRTB 2.4
Spec section
3.2.19

How it is used

Devices cache locations, so a request can carry coordinates that are minutes or hours old. Report the age of the actual fix, not the time the SDK last read its cache. Buyers doing proximity or store-visit targeting discount old fixes.

Example

Where the field sits in a payload, with everything else left out:

{
  "id": "req-1",
  "device": {
    "geo": {
      "lastfix": 45
    }
  }
}

Common mistakes

  • Sending a Unix timestamp instead of an age in seconds.

Version history

Added in OpenRTB 2.4, and present in the latest snapshot. The table shows how each version's spec text types the field.

VersionsType in the specRequiredDeprecated
2.4integerNoNo
2.5 to 2.6-202606integerNoNo

Related fields

Other Geo fields