Video.h
Height of the video player in device-independent pixels. Recommended, together with Video.w.
Field facts
- Path
imp.video.h- Object
- Video
- Type
- integer
- Requirement
- Recommended
- Added
- OpenRTB 2.0
- Spec section
- 3.2.7
How it is used
Width and height together give the player's aspect ratio, which matters when Video.boxingallowed is 0 and the creative has to match it. Keep both current when a player resizes.
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"imp": [
{
"video": {
"h": 1080
}
}
]
}Common mistakes
- Swapping width and height on a vertical player, which describes it as wider than it is tall.
- Sending 0 when the size is unknown instead of omitting the field.
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 | integer, default - field highl infor | Recommended | No |
| 2.1 to 2.2 | integer | Recommended | No |
| 2.3 to 2.4 | integer | Recommended | No |
| 2.5 to 2.6-202606 | integer | Recommended | No |
Related fields
Other Video fields
apibattrboxingallowedcompanionadcompaniontypedeliverydurfloorsextlinearitymaxbitratemaxdurationmaxextendedmaxseqmimesminbitratemincpmpersecmindurationplacementplaybackendplaybackmethodplcmtpoddedupepoddurpodidpodseqposprotocolprotocolsrqddurssequenceskipskipafterskipminslotinpodstartdelayw
For a walkthrough of the whole object, read Video object guide.