Device.ppi

The screen's pixel density in pixels per linear inch, as an integer. Added in OpenRTB 2.3.

CurrentintegerOptionalSince 2.3

Field facts

Path
device.ppi
Object
Device
Type
integer
Requirement
Optional
Added
OpenRTB 2.3
Spec section
3.2.18

How it is used

Together with h and w it gives the physical screen size, which helps buyers tell small phones from large tablets.

Example

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

{
  "id": "req-1",
  "device": {
    "ppi": 460
  }
}

Version history

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

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

Related fields

Other Device fields