-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
391b33d
to
3ce8d2d
Compare
* @param {object} r | ||
* @returns object | ||
*/ | ||
export function addDeviceInfo(r) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this 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
@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. |
@ChrisHuie thats great, thank you |
Co-authored-by: Chris Corbo <[email protected]>
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