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

Appnexus bid adapter add ortb2 device #11788

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jwrosewell
Copy link
Contributor

Type of change

  • Feature
  • Updated bidder adapter

Description of change

This PR enhances the AppNexus bidder request by incorporating device data from the global ORTB2 object. Existing values in the AppNexus device object will be overridden if they are also present in the global ORTB2 object. However, values unique to AppNexus 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 AppNexus’ users to benefit from device object improvements.

Other information

cc: @jsnellbaker @jaiminpanchal27

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jwrosewell

Unfortunately, these changes will not work as is. Our endpoint does not follow the ORTB2 schema and data fields like in the ORTB device object need to be properly mapped with the device fields our endpoint currently supports.

I can submit an internal ticket for us to look at this at a later time and properly implement the changes. But as is, most of the device data here would just be ignored by our endpoint despite trying to set it in the request payload.

Please let me know if you'd like close this request and we'll revisit this when there's time, or if you have another thought in mind. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants