-
Notifications
You must be signed in to change notification settings - Fork 183
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
Validation doesn't allow stored impressions without bidders #2975
Comments
@muuki88 - maybe we can just drop the whole validation? No clear to me that a validation like this is real valuable because it's already in the DB and this error isn't that much more helpful than just noticing that there aren't any bidders in the auction. |
That would be even better IMHO. Because this escalates an error ( or purposely configured ad unit ) to the entire auction. |
Care to submit a PR @muuki88 ? |
Deleting code? Always 😍😎 |
Would like to discuss with the committee whether we should continue to hard-fail on missing imp[%d].ext.prebid.bidder. We already have the scenario where bidders get removed due to lack of Purpose 2 consent - it's possible to take the view that the request/storedrequest should be allowed to not contain bidders. |
@muuki88 - is the goal here ultimately to allow the scenario where imps are simply dropped from the auction because there aren't bidders? The team doesn't want to drop the validation just for the case of stored requests because it's the same validation code as incoming requests. One use case I could see is that the adunit is temporarily roadblocked by a sponsorship so doing header bidding auctions on it is useless. Is that your scenario? |
We faced an issue with stored impressions that are not configured, but requested and thus crash the entire auction.
prebid-server-java/src/main/java/org/prebid/server/validation/RequestValidator.java
Lines 995 to 1001 in ed1baac
This validation doesn't allow us to create a stored impression that looks like this
instead we have to do something like this
Proposal
It would be great to disable certain validations. E.g.
The text was updated successfully, but these errors were encountered: