Device

@Serializable
class Device(var ua: String, var ifa: String, val make: String, val model: String, var hwv: String? = null, val os: String, val osv: String, var h: Int, var w: Int, var pxratio: Float? = null, var language: String? = null, val devicetype: Byte = 0, var connectiontype: Byte = 0, var dnt: Byte = 0, var lmt: Byte = 0, var geo: Geo? = null, var ip: String? = null, var carrier: String? = null)

This object provides information pertaining to the device through which the user is interacting.

Device information includes its hardware, platform, location, and carrier data. The device can refer to a mobile handset, a desktop computer, set top box, or other digital device.

OpenRTB Section 3.2.18

Constructors

Link copied to clipboard
constructor(ua: String, ifa: String, make: String, model: String, hwv: String? = null, os: String, osv: String, h: Int, w: Int, pxratio: Float? = null, language: String? = null, devicetype: Byte = 0, connectiontype: Byte = 0, dnt: Byte = 0, lmt: Byte = 0, geo: Geo? = null, ip: String? = null, carrier: String? = null)

Properties

Link copied to clipboard

Carrier or ISP (e.g., "Verizon") using exchange curated string names which should be published to bidders a priori.

Link copied to clipboard

Network connection type.

Link copied to clipboard

The general type of device.

Link copied to clipboard

Standard "Do Not Track" flag as set in the header by the browser. (0 = tracking is unrestricted; 1 = do not track)

Link copied to clipboard

Location of the device assumed to be the user’s current location defined by a Geo object.

Link copied to clipboard

Physical height of the screen in pixels.

Link copied to clipboard

Device hardware version

Link copied to clipboard

ID sanctioned for advertiser use in the clear (i.e., not hashed).

Link copied to clipboard

IPv4 address closest to device. Will be set automatically by Nimbus.

Link copied to clipboard

Browser language using ISO-639-1-alpha-2

Link copied to clipboard

"Limit Ad Tracking" signal commercially endorsed (e.g., iOS, Android). 0 = tracking is unrestricted 1 = tracking must be limited per commercial guidelines

Link copied to clipboard

Device make (e.g., "Google").

Link copied to clipboard

Device model (e.g., "Pixel").

Link copied to clipboard

Device operating system (e.g., "Android")

Link copied to clipboard

Device operating system version (e.g., "10", "9", "8.1", "8").

Link copied to clipboard

The ratio of physical pixels to device independent pixels.

Link copied to clipboard

Browser user agent string.

Link copied to clipboard

Physical width of the screen in pixels.