Introduction
The OpenRTB 2.6 specification defines a Structured User Agent (device.sua) format for representing User-Agent Client Hints. This is commonly used in programmatic advertising and real-time bidding scenarios.
Passing SUA to Device Detection
If you receive UA-CH data in the SUA format, you can pass it directly to the device detection engine with the query. or cookie. prefix:
SUA Format
The SUA format looks like this:
Technical Details
The SUA format is converted internally to the equivalent Sec-CH-UA-* HTTP headers before processing:
Sec-CH-UASec-CH-UA-MobileSec-CH-UA-PlatformSec-CH-UA-ModelSec-CH-UA-Full-Version-ListSec-CH-UA-Platform-VersionSec-CH-UA-ArchSec-CH-UA-Bitness
The conversion happens natively in the device detection engine (in the C layer), making it efficient and seamless. This eliminates the need for any additional pipeline elements or pre-processing steps that were required in earlier versions.
Related Pages
For more details on OpenRTB integration, see the OpenRTB Mappings page.
For alternative UA-CH approaches, see:
- JavaScript API - using
getHighEntropyValues() - HTTP Headers - using
Sec-CH-UA-*headers
