Banner.wmax

Maximum width in pixels, added in OpenRTB 2.2 to signal that a range of sizes was acceptable. Deprecated in 2.4 in favor of Banner.format and removed in 2.6.

Removed after 2.5integerOptionalSince 2.2

Field facts

Path
imp.banner.wmax, imp.audio.companionad.wmax, imp.video.companionad.wmax
Object
Banner
Type
integer
Requirement
Optional
Added
OpenRTB 2.2
Deprecated
OpenRTB 2.4
Last version
OpenRTB 2.5
Spec section
3.2.6

How it is used

In 2.2 and 2.3, sending any of the min or max fields turned Banner.w and Banner.h into a preferred size instead of an exact one. Replace a size range with an explicit list of Format objects, one per size the slot really takes.

Example

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

{
  "id": "req-1",
  "imp": [
    {
      "banner": {
        "wmax": 728
      }
    }
  ]
}

Common mistakes

  • Still sending it on 2.6 traffic. The validator reports openrtb.field.removed, or openrtb.field.deprecated when the request is validated against 2.4 or 2.5.

Version history

Added in OpenRTB 2.2, deprecated in 2.4, last present in 2.5. The table shows how each version's spec text types the field.

VersionsType in the specRequiredDeprecated
2.2integerNoNo
2.3 to 2.3.1integerNoNo
2.4integerNoYes
2.5integerNoYes

Related fields

Other Banner fields