Format.w
Width of this allowed size in device-independent pixels. Marked recommended in 2.4; from 2.5 the spec instead recommends either the w and h pair or the ratio set.
Field facts
- Path
imp.banner.format.w,imp.audio.companionad.format.w,imp.video.companionad.format.w- Object
- Format
- Type
- integer
- Requirement
- Optional
- Added
- OpenRTB 2.4
- Spec section
- 3.2.10
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"imp": [
{
"banner": {
"format": [
{
"w": 300
}
]
}
}
]
}Common mistakes
- Sending physical pixels from a high-density screen, such as 600 for a 300 wide slot.
- Sending a size string such as "300x250" in place of separate integer w and h fields.
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.
| Versions | Type in the spec | Required | Deprecated |
|---|---|---|---|
| 2.4 | integer | Recommended | No |
| 2.5 to 2.6-202606 | integer | No | No |