-
Notifications
You must be signed in to change notification settings - Fork 181
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
Remove all imp.ext.prebid.imp #3378
Conversation
0b28785
to
06e4b21
Compare
@@ -156,6 +157,34 @@ class ImpRequestSpec extends BaseSpec { | |||
bidderName << [WILDCARD, UNKNOWN] | |||
} | |||
|
|||
def "PBS shouldn't update imp fields without warning when imp.ext.prebid.imp contain not applicable bidder"() { |
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.
PBS shouldn't update imp fields and without warning when imp.ext.prebid.imp contain not applicable bidder
def bidRequest = BidRequest.defaultBidRequest.tap { | ||
imp.first.tap { | ||
pmp = impPmp | ||
ext.prebid.imp = [(notApplicableBidder): new Imp(pmp: Pmp.defaultPmp)] |
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.
Can be directly ext.prebid.imp = [(RUBICON): new Imp(pmp: Pmp.defaultPmp)]
then: "Bid response should not contain warning" | ||
assert !response?.ext?.warnings | ||
|
||
and: "BidderRequest shouldn't update imp information based on imp.ext.prebid.imp value" |
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.
Sounds strange
BidderRequest should contain pmp from imp.ext.prebid.imp.pmp
🔧 Type of changes
✨ What's the context?
What's the context for the changes? Are there any
🧠 Rationale behind the change
Why did you choose to make these changes? Were there any trade-offs you had to consider?
🧪 Test plan
How do you know the changes are safe to ship to production?
🏎 Quality check