Bid.wratio

The relative width of the creative when its size is expressed as a ratio, used for Flex Ads together with Bid.hratio. Added in 2.5.

CurrentintegerOptionalSince 2.5

Field facts

Path
seatbid.bid.wratio
Object
Bid
Type
integer
Requirement
Optional
Added
OpenRTB 2.5
Spec section
4.2.3

How it is used

Flex Ad impressions describe an aspect ratio and a minimum width in Format.wratio, Format.hratio, and Format.wmin instead of a fixed size. A 16:9 creative is sent as wratio 16 and hratio 9.

Example

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

{
  "seatbid": [
    {
      "bid": [
        {
          "wratio": 16
        }
      ]
    }
  ]
}

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.5integerNoNo
2.6-202210 to 2.6-202606integerNoNo

Related fields

Other Bid fields

For a walkthrough of the whole object, read Bid response anatomy.