Site.kwarray
Keywords about the site as an array of strings, the structured alternative to Site.keywords. Added in OpenRTB 2.6; only one of the two may be present.
Field facts
- Path
site.kwarray- Object
- Site
- Type
- string array
- Requirement
- Optional
- Added
- OpenRTB 2.6-202204
- Spec section
- 3.2.13
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"site": {
"kwarray": [
"local news",
"city council",
"transit"
]
}
}Common mistakes
- Putting every keyword into a single comma-separated element, which brings back the parsing problem the array was meant to remove.
- Sending kwarray alongside keywords. The validator reports the pair as mutually exclusive.
Version history
Added in OpenRTB 2.6-202204, 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.6-202204 | Added in the first 2.6 release, published without a structured text archive; the 2.6-202210 republication is the first tagged text. | ||
| 2.6-202210 to 2.6-202606 | string array | No | No |