Content contexts

Content Contexts classifies what the user is doing in the content around the ad: watching video, playing a game, listening to audio, using an application, reading text, something else, or unknown. It is sent in Content.context under site, app, or dooh, and its values derive from the TAG Inventory Quality Guidelines.

List: Content Contexts7 valuesUsed by app.content.context

Values

ValueNameWhat it means
1VideoThe user is watching video content, on demand or live.
2GameThe user is playing an interactive game.
3MusicThe user is listening to audio, such as music or internet radio.
4ApplicationThe user is using an interactive application that is not a game.
5TextThe user is reading a mainly textual document, such as a web page, eBook, or news article.
6OtherThe content is known but fits none of the other contexts.
7UnknownThe seller does not know the content context.

Fields that use this list

How to use it

Choose the value for the user's main activity, not for the ad format: a video ad in a news article is in a text context. The seven values have kept their meaning since OpenRTB 2.0, but OpenRTB 2.0 to 2.2 typed Content.context as a string; OpenRTB 2.3 made it an integer, so a quoted value is now a type mismatch. On 2.6 snapshots RTBlint reports values outside 1 to 7 as openrtb.value.invalid.

Common mistakes

  • Sending "1" as a string, a habit left over from OpenRTB 2.2 and earlier. RTBlint reports openrtb.type.mismatch.
  • Choosing the value from the ad format, for example 1 (Video) for an outstream video ad on a news article. The article is 5 (Text).
  • Using 6 (Other) to mean unknown. Unknown is 7.

Validation

On OpenRTB 2.6 snapshots, RTBlint reports a value outside this list as openrtb.value.invalid. Paste a request into the tester to check the values you send.

Related lists

All lists are on the enumerated lists index.