BidRequest.wlang

An allow list of creative languages as ISO 639-1 two-letter codes. Added in 2.5; leaving it out means no language restriction.

Currentstring arrayOptionalSince 2.5

Field facts

Path
wlang
Object
BidRequest
Type
string array
Requirement
Optional
Added
OpenRTB 2.5
Spec section
3.2.1

How it is used

Without it, buyers can look at Device.language and Content.language to choose a creative. Send either wlang or its BCP 47 counterpart, BidRequest.wlangb, not both.

Example

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

{
  "id": "req-1",
  "wlang": [
    "en",
    "es"
  ]
}

Common mistakes

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

Related fields

Other BidRequest fields

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