Banner.h
Height of the slot in device-independent pixels. Through 2.4 the spec marked it recommended in all cases; from 2.5 it is an exact height, recommended only when no Banner.format list is sent.
Field facts
- Path
imp.banner.h,imp.audio.companionad.h,imp.video.companionad.h- Object
- Banner
- Type
- integer
- Requirement
- Optional
- Added
- OpenRTB 2.0
- Spec section
- 3.2.6
How it is used
Pair it with Banner.w. Inside a companion array, w and h describe the companion slot, not the video player.
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"imp": [
{
"banner": {
"h": 250
}
}
]
}Common mistakes
- Sending physical pixels from a high-density screen instead of device-independent pixels.
- Sending h without w, which gives the buyer half a size.
Version history
Added in OpenRTB 2.0, 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.0 to 2.2 | integer | Recommended | No |
| 2.3 to 2.4 | integer | Recommended | No |
| 2.5 to 2.6-202606 | integer | No | No |