Format.hratio
Relative height when the allowed size is a ratio, the partner of Format.wratio for flex ads. Added in OpenRTB 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.
| Versions | Type in the spec | Required | Deprecated |
|---|---|---|---|
| 2.5 to 2.6-202606 | integer | No | No |