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

IX bid adapter: add screen resolution in device object #10246

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

ccorbo
Copy link
Contributor

@ccorbo ccorbo commented Jul 19, 2023

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

IX Bid Adapter: Signals device.w / device.h

* @param {object} r
* @returns object
*/
export function addDeviceInfo(r) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not do this in the global ortb2 object for all bidders picking up device?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats just going to be a longer process, as I've never touched pbjs core before. Can we merge this in for now and I can work on the core change

Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

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

seems like an opportunity to do once instead of just in one adapter to be repeated many times

@ChrisHuie ChrisHuie self-assigned this Jul 20, 2023
@ChrisHuie
Copy link
Collaborator

@ccorbo I can add this to a utils function and just come back and update here too. There would be several adapters that could utilize this that would then need to be updated.

@ccorbo
Copy link
Contributor Author

ccorbo commented Jul 20, 2023

@ChrisHuie thats great, thank you

@ChrisHuie ChrisHuie merged commit 0f4a2fe into prebid:master Jul 20, 2023
2 checks passed
santii7395 pushed a commit to themaven-net/Prebid.js that referenced this pull request Aug 28, 2023
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.

None yet

3 participants