Skip to content

Commit

Permalink
ixBidAdapter.js: add device fields
Browse files Browse the repository at this point in the history
Ix support tells me device.IP is honored if passed, but the adapter doesn't have it in the payload
  • Loading branch information
patmmccann authored Oct 24, 2024
1 parent 6fc52d6 commit af76ca9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/ixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,16 @@ function addFPD(bidderRequest, r, fpd, site, user) {
if (!isEmpty(sua)) {
deepSetValue(r, 'device.sua', sua);
}

const ip = fpd.device.ip;
if (ip) {
deepSetValue(r, 'device.ip', ip);
}

const ipv6 = fpd.device.ipv6;
if (ipv6) {
deepSetValue(r, 'device.ipv6', ipv6);
}
}

// regulations from ortb2
Expand Down

0 comments on commit af76ca9

Please sign in to comment.