Format.hratio

Relative height when the allowed size is a ratio, the partner of Format.wratio for flex ads. Added in OpenRTB 2.5.

CurrentintegerOptionalSince 2.5

Field facts

Path
imp.banner.format.hratio, imp.audio.companionad.format.hratio, imp.video.companionad.format.hratio
Object
Format
Type
integer
Requirement
Optional
Added
OpenRTB 2.5
Spec section
3.2.10

Example

Where the field sits in a payload, with everything else left out:

{
  "id": "req-1",
  "imp": [
    {
      "banner": {
        "format": [
          {
            "hratio": 9
          }
        ]
      }
    }
  ]
}

Common mistakes

  • Sending only one of wratio and hratio; a ratio needs both numbers.

Version history

Added in OpenRTB 2.5, and present in the latest snapshot. The table shows how each version's spec text types the field.

VersionsType in the specRequiredDeprecated
2.5 to 2.6-202606integerNoNo

Related fields

Other Format fields