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

Openx: use bidfloor if set - prebid.js adapter behavior #1218

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

laurb9
Copy link
Contributor

@laurb9 laurb9 commented Apr 7, 2021

- Fixes bug that set bidfloor to 0 when customFloor not given (so almost always)
- Implements behavior in https://github.com/prebid/Prebid.js/blob/master/modules/openxBidAdapter.js#L495
@laurb9 laurb9 changed the title openx adapter: use bidfloor if set - prebid.js adapter behavior Openx: use bidfloor if set - prebid.js adapter behavior Apr 8, 2021
@laurb9
Copy link
Contributor Author

laurb9 commented Apr 9, 2021

Added unit tests and simplified the code, passing bidfloor with fallback to customFloor.
I did notice that no other adapter gives priority to incoming bidfloor from the standard place, so we may revisit this choice.

@laurb9 laurb9 requested a review from SerhiiNahornyi April 9, 2021 00:15
@rpanchyk rpanchyk merged commit b0cdf63 into prebid:master Apr 21, 2021
nickluck9 pushed a commit that referenced this pull request Aug 9, 2021
- Fixes bug that set bidfloor to 0 when customFloor not given (so almost always)
- Implements behavior in https://github.com/prebid/Prebid.js/blob/master/modules/openxBidAdapter.js#L495
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
- Fixes bug that set bidfloor to 0 when customFloor not given (so almost always)
- Implements behavior in https://github.com/prebid/Prebid.js/blob/master/modules/openxBidAdapter.js#L495
nickluck9 pushed a commit that referenced this pull request Aug 10, 2021
- Fixes bug that set bidfloor to 0 when customFloor not given (so almost always)
- Implements behavior in https://github.com/prebid/Prebid.js/blob/master/modules/openxBidAdapter.js#L495
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.

3 participants