![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <openrtb.h>
Public Attributes | |
| TaggedBool | dnt |
| If 1 then do not track is on. | |
| string | ua |
| User agent of device. | |
| string | ip |
| IP address of device. | |
| Optional< Geo > | geo |
| Geolocation of device. | |
| string | didsha1 |
| Device ID: SHA1. | |
| string | didmd5 |
| Device ID: MD5. | |
| string | dpidsha1 |
| Device Platform ID: SHA1. | |
| string | dpidmd5 |
| Device Platform ID: MD5. | |
| string | ipv6 |
| IPv6 address. | |
| string | carrier |
| Carrier or ISP (derived from IP address) | |
| string | language |
| Browser language. ISO 639-1 (alpha-2). | |
| string | make |
| Device make. | |
| string | model |
| Device model. | |
| string | os |
| Device OS. | |
| string | osv |
| Device OS version. | |
| TaggedBool | js |
| Javascript is supported? 1 or 0. | |
| ConnectionType | connectiontype |
| Connection type (table 6.10) | |
| DeviceType | devicetype |
| Device type (table 6.16) | |
| string | flashver |
| Flash version on device. | |
| Json::Value | ext |
| Extensions go here. | |
3.3.10 Device Object
The “device” object provides information pertaining to the device including its hardware, platform, location, and carrier.
This device can refer to a mobile handset, a desktop computer, set top box or other digital device.
The device object itself and all of its parameters are optional, so default values are not provided.
If an optional parameter is not specified, it should be considered unknown.
In general, the most essential fields are either the IP address (to enable geo-lookup for the bidder), or providing geo information directly in the geo object.
1.7.6.1