Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adagio Bid Adapter: Add full ORTB2 device data to request payload #12006

Merged

Conversation

jwrosewell
Copy link
Contributor

Type of change

  • Feature
  • Updated bidder adapter

Description of change

This PR enhances the Adagio bid request by incorporating device data from the global ORTB2 object. Existing values in the Adagio device object won't be replaced (e.g. language, userAgent, js).

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 Adagio’s users to benefit from device object improvements.

Other information

cc: @osazos

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@patmmccann patmmccann requested review from dgirardi and osazos and removed request for dgirardi July 19, 2024 11:15
@patmmccann patmmccann marked this pull request as ready for review July 26, 2024 01:36
@justadreamer
Copy link
Contributor

Hi @osazos any updates on this? Thanks.

@jwrosewell
Copy link
Contributor Author

@osazos would you like assistance explaining the changes?

@patmmccann
Copy link
Collaborator

@osazos can be reach in prebid slack.

@patmmccann patmmccann merged commit 9ec45f6 into prebid:master Dec 26, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants