Native.ver

Version of the Native Ads specification that Native.request follows, such as 1.2. Recommended, because parsers read 1.0, 1.1, and 1.2 requests differently.

CurrentstringRecommendedSince 2.3

Field facts

Path
imp.native.ver
Object
Native
Type
string
Requirement
Recommended
Added
OpenRTB 2.3
Spec section
3.2.9

How it is used

Send the same version here and in the ver field inside the decoded request, so a buyer can choose its parser before decoding.

Example

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

{
  "id": "req-1",
  "imp": [
    {
      "native": {
        "ver": "1.2"
      }
    }
  ]
}

Common mistakes

  • Declaring 1.2 here while the request still uses the 1.0 wrapper or fields that Native 1.1 replaced, such as layout.

Version history

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

VersionsType in the specRequiredDeprecated
2.3 to 2.3.1stringRecommendedNo
2.4stringRecommendedNo
2.5 to 2.6-202606stringRecommendedNo

Related fields

Other Native fields

For a walkthrough of the whole object, read Native ads.