Skip to content

Commit 8ee51dc

Browse files
Merge pull request #26 from UnityTech/add-oaid-device-field
Add OAID device field to openrtb
2 parents 9319a8c + 7973f1f commit 8ee51dc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

device.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ type Device struct {
3434
PIDMD5 string `json:"dpidmd5,omitempty"` // MD5 hashed platform device ID
3535
MacSHA1 string `json:"macsha1,omitempty"` // SHA1 hashed device ID; IMEI when available, else MEID or ESN
3636
MacMD5 string `json:"macmd5,omitempty"` // MD5 hashed device ID; IMEI when available, else MEID or ESN
37+
OAID string `json:"oaid,omitempty"` // Open Advertising Tracking ID
3738
Ext Extension `json:"ext,omitempty"`
3839
}

device_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ var _ = Describe("Device", func() {
3939
ConnType: ConnTypeCell,
4040
MCCMNC: "722-341",
4141
DeviceType: DeviceTypeMobile,
42+
OAID: "1fe9a970-efbb-29e0-0bdd-f5dbbf751ab5",
4243
}))
4344
})
4445
})

0 commit comments

Comments
 (0)