Video.h

Height of the video player in device-independent pixels. Recommended, together with Video.w.

CurrentintegerRecommendedSince 2.0

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.

VersionsType in the specRequiredDeprecated
2.0integer, default - field highl inforRecommendedNo
2.1 to 2.2integerRecommendedNo
2.3 to 2.4integerRecommendedNo
2.5 to 2.6-202606integerRecommendedNo

Related fields

Other Video fields

For a walkthrough of the whole object, read Video object guide.