Format.w

Width of this allowed size in device-independent pixels. Marked recommended in 2.4; from 2.5 the spec instead recommends either the w and h pair or the ratio set.

CurrentintegerOptionalSince 2.4

Field facts

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

Example

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

{
  "id": "req-1",
  "imp": [
    {
      "banner": {
        "format": [
          {
            "w": 300
          }
        ]
      }
    }
  ]
}

Common mistakes

  • Sending physical pixels from a high-density screen, such as 600 for a 300 wide slot.
  • Sending a size string such as "300x250" in place of separate integer w and h fields.

Version history

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

VersionsType in the specRequiredDeprecated
2.4integerRecommendedNo
2.5 to 2.6-202606integerNoNo

Related fields

Other Format fields