Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Sharethrough bid adapter add ortb2 device

Open jwrosewell opened this issue 1 year ago • 1 comments

Type of change

  • [x] Feature
  • [x] Updated bidder adapter

Description of change

This PR enhances the Sharethrough bidder request by incorporating device data from the global ORTB2 object. Existing values in the Sharethrough device object will be overridden if they are also present in the global ORTB2 object. However, values unique to Sharethrough or not found in the global ORTB2 object will remain unchanged.

Motivation

The device object has previously been populated by simplistic parsers, if at all, and was inaccurate as a result. Prebid now benefits from RTD modules such as 51Degrees that enrich all the device object fields including Apple iPhone model category and device ID. The PR enables Sharethrough’s users to benefit from device object improvements.

Other information

cc: @jefftmahoney

jwrosewell avatar Jun 12 '24 20:06 jwrosewell

Hey @jwrosewell ! Let me run this by our ad-server team to make sure it doesn't interfere with any logic on their side for how to handle device-related info when they're processing bid requests.

jefftmahoney avatar Jun 12 '24 21:06 jefftmahoney