Device Context¶
Value |
Type |
Description |
---|---|---|
ip |
string |
(Required) Specifies the IPv4 address closest to the device.
|
ipv6 |
string |
(Required) IP address in IPv6 format. One of either
|
type |
integer |
Device type as defined by OpenRTB, for example,
|
ua |
string |
Browser or application user agent string, for example,
|
ifa** |
string |
The ID for Advertisers (IFA) in clear text (i.e. not hashed), for example Apple’s IDFA or Android’s Advertising ID. Note: This field is required for in-app requests. The Apple IDFA is usually uppercase, and the Android Advertiser ID is usually lowercase. For example:
Note: This fields can use UUIDv4 or UUIDv5 formats. If passing synthetic IFAs, you should use either the v4 or v5 implementation of RFC 4122 to generate them. There’s a number of online tools for checking the version if you need to troubleshoot UUID issues, e.g. UUID / GUID Validator |
dnt |
integer |
Do not track, as set in browser header.
|
lmt |
integer |
Limit Ad Tracking. Signal commercially endorsed (e.g., iOS, recommended Android):
|
make |
string |
Device make, for example, |
model |
string |
Device mode, for example, |
os |
string |
Device operating system, for example, |
osv |
string |
Device operating system version, for example, |
w |
integer |
Physical height of the screen in pixels, for example, |
h |
integer |
Physical width of the screen in pixels, for example, |
pxratio |
float |
The ratio of physical pixels to device independent pixels, for
example, |
lang |
string |
Alpha-2/ISO 639-1 code of browser language, for example, |
xff |
string |
The value of the |
carrier |
string |
Carrier or ISP derived from the IP address, for example, |
mccmnc* |
string |
Mobile carrier as the concatenated MCC-MNC code (e.g., |
geo |
object |
Geo Object as derived from the device’s location services, or supplied by the Supplier if the device IP is missing. For more information, see the Geo Context section. |
contype |
integer |
Connection type as defined in OpenRTB, for example,
|
{
"contype":3,
"mccmnc":"310-005",
"lang":"en",
"geo":{
"country":"IN",
"lon":85.1167,
"city":"Patna",
"lat":25.6,
"zip":"800002",
"region":"IN-BR",
"type":2
},
"ifa":"793ff4b0-d077-4002-aeb6-b8ea64dd4b2b",
"osv":"5.0.2",
"os":"Android",
"carrier":"Airtel",
"type":1,
"ip":"223.176.12.242",
"ua":"Dalvik/2.1.0 (Linux; U; Android 5.0.2; Micromax A096 Build/LRX21M)",
"dnt":2
}