Skip to content

Incorrect enforcement of request.imp.metric #3971

@naegelin

Description

@naegelin

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.

throw new ValidationException("%s.metric[%d].value must be in the range [0.0, 1.0]", msgPrefix, i);

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Ready for Dev

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions