Site.mobile

Whether the site's layout is built for mobile screens, where 1 means yes and 0 means no. Added in OpenRTB 2.3.

CurrentintegerOptionalSince 2.3

Field facts

Path
site.mobile
Object
Site
Type
integer
Requirement
Optional
Added
OpenRTB 2.3
Spec section
3.2.13

How it is used

It describes the site's design, such as a responsive or dedicated mobile site, and says nothing about the visitor's device. Use Device.devicetype and Device.ua to learn what the user is holding.

Allowed values

0, 1.

Example

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

{
  "id": "req-1",
  "site": {
    "mobile": 1
  }
}

Common mistakes

  • Setting mobile to 1 because the visitor is on a phone. A desktop-only site viewed on a phone is still 0.
  • Sending true or false. OpenRTB JSON uses 1 or 0; booleans come from serializers built on the protobuf schema and fail strict JSON parsers.

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.

VersionsType in the specRequiredDeprecated
2.3 to 2.3.1integerNoNo
2.4integerNoNo
2.5 to 2.6-202606integerNoNo

Related fields

Other Site fields