-
Notifications
You must be signed in to change notification settings - Fork 226
Mobkoi: Always set the TagID with our placementID #4327
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
base: master
Are you sure you want to change the base?
Conversation
src/test/java/org/prebid/server/bidder/mobkoi/MobkoiBidderTest.java
Outdated
Show resolved
Hide resolved
| assertThat(result.getValue()) | ||
| .extracting(httpRequest -> mapper.readValue(httpRequest.getBody(), BidRequest.class)) | ||
| .flatExtracting(BidRequest::getImp) | ||
| .extracting(imp -> imp.getTagid()) |
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.
Use method ref
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.
what do you mean ?
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.
@gabrielmougard extracting(Imp::getTagid)
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.
@gabrielmougard please address the previous comment here as well as in other similar instances to ensure consistency across PR
|
@gabrielmougard any update? |
|
Hi @osulzhenko , will update today, thanks for the reminder :) |
We have a discrepancy between our Prebid Server and our Tag/PrebidJS integration. It’s not replacing the `bidrequest.Imp[0].TagID` with our internal value when a TagID is already present. We are able to deliver because the value is set in the `bidrequest.Imp[0].Ext.placementID` field, but this creates discrepancies between the connectors, and it’s not ideal.
79604dd to
31d3a39
Compare
|
@gabrielmougard also: |
🔧 Type of changes
✨ What's the context?
We have a discrepancy between our Prebid Server and our Tag/PrebidJS integration. It’s not replacing the
bidrequest.Imp[0].TagIDwith our internal value when a TagID is already present. We are able to deliver because the value is set in thebidrequest.Imp[0].Ext.placementIDfield, but this creates discrepancies between the connectors, and it’s not ideal.