Device.w

The physical width of the screen in pixels, as an integer. Added in OpenRTB 2.3.

CurrentintegerOptionalSince 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.

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

Related fields

Other Device fields