prebid-server-java icon indicating copy to clipboard operation
prebid-server-java copied to clipboard

Incorrect enforcement of request.imp.metric

Open naegelin opened this issue 7 months ago • 1 comments

PBS is rejecting metrics with a float value greater than 1.0 . Per openrtb 2.6 specifications, this value must ONLY be in the range of 0.0 to 1.0 if the metrics are probabilities, otherwise normal Float values should be accepted.

https://github.com/prebid/prebid-server-java/blob/1e66556c9c07b5b0dbae1d7dc0b8154662168b27/src/main/java/org/prebid/server/validation/ImpValidator.java#L651

Openrtb 2.6 Metrics Object referenced in Section 3.2.5 Page 15: https://iabtechlab.com/wp-content/uploads/2022/04/OpenRTB-2-6_FINAL.pdf

naegelin avatar May 21 '25 17:05 naegelin

@Net-burst to look into this.

Net-burst avatar May 30 '25 14:05 Net-burst