Device.w
The physical width of the screen in pixels, as an integer. Added in OpenRTB 2.3.
Field facts
- Path
device.w- Object
- Device
- Type
- integer
- Requirement
- Optional
- Added
- OpenRTB 2.3
- Spec section
- 3.2.18
How it is used
Like h, it counts hardware pixels and describes the whole screen, not the ad slot.
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"device": {
"w": 1170
}
}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 |