User-Agent source
User-Agent source says where the structured browser and platform data in a request came from: Client Hints, with or without the high-entropy values, or a parsed User-Agent string. OpenRTB 2.6 sends it in UserAgent.source, the source field of device.sua, with a default of 0. Buyers use it to decide how far to trust versions and device models.
Values
| Value | Name | What it means |
|---|---|---|
0 | Unspecified or unknown | The source of the structured user agent data is not known or not reported; this is the default. |
1 | Client Hints, low entropy only | Built from the Client Hints a browser sends by default: brands, major versions, mobile flag and platform. |
2 | Client Hints, with high entropy | Built from Client Hints including the high-entropy values, such as full versions, platform version and device model. |
3 | Parsed from the User-Agent header | Derived by parsing the same User-Agent string carried in Device.ua, with its frozen and reduced values. |
Fields that use this list
How to use it
Set source to describe how you built device.sua, not what the browser could have offered. Low-entropy Client Hints, which browsers send by default, give brands, major versions, a mobile flag and the platform. High-entropy hints, which a site must request, add full versions, platform version, model and architecture. Parsing the UA string works everywhere but inherits the frozen and reduced values that browsers now put in it. Keep sending Device.ua alongside sua for buyers that have not switched.
Common mistakes
- Leaving
sourceat 0 when you builtsuayourself and know exactly how. - Marking an
suabuilt from a parsed UA string as 2. Buyers then trust a reduced platform version as if the browser had reported it. - Sending an
suawith an emptybrowsersarray, which rtblint reports asopenrtb.sua.browsers_empty.
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.