-
Notifications
You must be signed in to change notification settings - Fork 190
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 #1262
Conversation
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.
Pls add unit tests
f14d9c4
to
bb895ee
Compare
.containsExactly(BidRequest.builder() | ||
.imp(singletonList(Imp.builder() | ||
.bidfloor(customFloor) | ||
.video(Video.builder().build()) | ||
.build())) | ||
.ext(jacksonMapper.fillExtension( | ||
ExtRequest.empty(), OpenxRequestExt.of(null, null, "hb_pbs_1.0.0"))) | ||
.build()); |
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.
Just floor check is enough
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.
Actually just floor check is not enough because of this explicit .ext
fulfilment: https://github.com/prebid/prebid-server-java/blob/master/src/main/java/org/prebid/server/bidder/openx/OpenxBidder.java#L176-L181
src/test/java/org/prebid/server/bidder/openx/OpenxBidderTest.java
Outdated
Show resolved
Hide resolved
cea21dc
to
2bc1dbe
Compare
2bc1dbe
to
53d80c1
Compare
53d80c1
to
d591807
Compare
prebid/prebid-server#1795