UserAgent.mobile
Whether the browser prefers mobile-optimized content, where 1 means it does and 0 means it prefers the desktop or full version, taken from the Sec-CH-UA-Mobile hint.
Field facts
- Path
device.sua.mobile- Object
- UserAgent
- Type
- integer
- Requirement
- Optional
- Added
- OpenRTB 2.6-202204
- Spec section
- 3.2.29
How it is used
It describes a content preference, not the hardware, so a large tablet can report 0. Use device.devicetype for the device class.
Example
Where the field sits in a payload, with everything else left out:
{
"id": "req-1",
"device": {
"sua": {
"mobile": 1
}
}
}Common mistakes
- Sending true or false instead of 1 or 0.
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 | integer | No | No |
Related fields
Other UserAgent fields
For a walkthrough of the whole object, read User-agent client hints and sua.