Detect OpenRTB's Structured UA (sua) using the WURFL API
This example accompanies the Update on Structured User Agent in OpenRTB blog post. It demonstrates device detection using ScientiaMobile's WURFL API with OpenRTB's Structure UA (sua) object.
- Java 8 or higher
- WURFL OnSite API for Java license
wurfl.xml
(WURFL Snapshot)- maven (with access ScientiaMobile's Private Maven Repository already configured)
The complete documentation for the WURFL OnSite API for Java is available here.
Prior to running this example, please make sure you have a recent WURFL snapshot and it is either placed in the project root or the appropriate path is set in wurflRootPath
.