Content.len

The length of the content in seconds, for video and audio.

CurrentintegerOptionalSince 2.0

Field facts

Path
app.content.len, dooh.content.len, site.content.len
Object
Content
Type
integer
Requirement
Optional
Added
OpenRTB 2.0
Spec section
3.2.16

How it is used

On long-form video it helps buyers tell clips from full episodes and films. For a live stream with no fixed length, leave it out rather than sending 0.

Example

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

{
  "id": "req-1",
  "app": {
    "content": {
      "len": 2700
    }
  }
}

Common mistakes

  • Sending milliseconds. A 45 minute episode is 2700, not 2700000.

Version history

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

VersionsType in the specRequiredDeprecated
2.0 to 2.1integerNoNo
2.2integer auNoNo
2.3 to 2.3.1integerNoNo
2.4integerNoNo
2.5 to 2.6-202606integerNoNo

Related fields

Other Content fields

For a walkthrough of the whole object, read CTV and ad pods.