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.
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.
| Versions | Type in the spec | Required | Deprecated |
|---|---|---|---|
| 2.3 to 2.3.1 | string | Recommended | No |
| 2.4 | string | Recommended | No |
| 2.5 to 2.6-202606 | string | Recommended | No |
Related fields
Other Native fields
For a walkthrough of the whole object, read Native ads.