Device.os

The device operating system, as a string such as "iOS", "Android", or "Windows".

CurrentstringOptionalSince 2.0

Field facts

Path
device.os
Object
Device
Type
string
Requirement
Optional
Added
OpenRTB 2.0
Spec section
3.2.18

How it is used

AdCOM 1.0 has an Operating Systems list, but OpenRTB 2.x keeps this field a free-text string, so sellers send names rather than list codes and buyers normalize spelling per exchange.

Example

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

{
  "id": "req-1",
  "device": {
    "os": "Android"
  }
}

Common mistakes

  • Sending an AdCOM Operating Systems integer instead of a name.

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.2stringNoNo
2.3 to 2.3.1stringNoNo
2.4stringNoNo
2.5 to 2.6-202606stringNoNo

Related fields

Other Device fields