Device.ppi
The screen's pixel density in pixels per linear inch, as an integer. Added in OpenRTB 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.
| Versions | Type in the spec | Required | Deprecated |
|---|---|---|---|
| 2.3 to 2.3.1 | integer | No | No |
| 2.4 | integer | No | No |
| 2.5 to 2.6-202606 | integer | No | No |