@@ -4,26 +4,26 @@ package openrtb
44// platform, location, and carrier. This device can refer to a mobile handset, a desktop computer,
55// set top box or other digital device.
66type Device struct {
7- Dnt * int `json:"dnt,omitempty"` // "1": Do not track
8- Ua * string `json:"ua,omitempty"` // User agent
9- Ip * string `json:"ip,omitempty"` // IPv4
10- Geo * Geo `json:"geo,omitempty"`
11- Didsha1 * string `json:"didsha1,omitempty"` // SHA1 hashed device ID
12- Didmd5 * string `json:"didmd5,omitempty"` // MD5 hashed device ID
13- Dpidsha1 * string `json:"dpidsha1,omitempty"` // SHA1 hashed platform device ID
14- Dpidmd5 * string `json:"dpidmd5,omitempty"` // MD5 hashed platform device ID
15- Ipv6 * string `json:"ipv6,omitempty"` // IPv6
16- Carrier * string `json:"carrier,omitempty"` // Carrier or ISP derived from the IP address
17- Language * string `json:"language,omitempty"` // Browser language
18- Make * string `json:"make,omitempty"` // Device make
19- Model * string `json:"model,omitempty"` // Device model
20- Os * string `json:"os,omitempty"` // Device OS
21- Osv * string `json:"osv,omitempty"` // Device OS version
22- Js * int `json:"js,omitempty"` // Javascript status ("0": Disabled, "1": Enabled)
23- Connectiontype * int `json:"connectiontype,omitempty"`
24- Devicetype * int `json:"devicetype,omitempty"`
25- Flashver * string `json:"flashver,omitempty"` // Flash version
26- Ext map [ string ] string `json:"ext,omitempty"`
7+ Dnt * int `json:"dnt,omitempty"` // "1": Do not track
8+ Ua * string `json:"ua,omitempty"` // User agent
9+ Ip * string `json:"ip,omitempty"` // IPv4
10+ Geo * Geo `json:"geo,omitempty"`
11+ Didsha1 * string `json:"didsha1,omitempty"` // SHA1 hashed device ID
12+ Didmd5 * string `json:"didmd5,omitempty"` // MD5 hashed device ID
13+ Dpidsha1 * string `json:"dpidsha1,omitempty"` // SHA1 hashed platform device ID
14+ Dpidmd5 * string `json:"dpidmd5,omitempty"` // MD5 hashed platform device ID
15+ Ipv6 * string `json:"ipv6,omitempty"` // IPv6
16+ Carrier * string `json:"carrier,omitempty"` // Carrier or ISP derived from the IP address
17+ Language * string `json:"language,omitempty"` // Browser language
18+ Make * string `json:"make,omitempty"` // Device make
19+ Model * string `json:"model,omitempty"` // Device model
20+ Os * string `json:"os,omitempty"` // Device OS
21+ Osv * string `json:"osv,omitempty"` // Device OS version
22+ Js * int `json:"js,omitempty"` // Javascript status ("0": Disabled, "1": Enabled)
23+ Connectiontype * int `json:"connectiontype,omitempty"`
24+ Devicetype * int `json:"devicetype,omitempty"`
25+ Flashver * string `json:"flashver,omitempty"` // Flash version
26+ Ext Extensions `json:"ext,omitempty"`
2727}
2828
2929// Returns the DNT status, with default fallback
0 commit comments