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

Port PR from PBS-Java: Add a warning for when targeting attributes are truncated

Open cross-repo-issue-creation[bot] opened this issue 3 months ago • 2 comments

A PR was merged over on PBS-Java

The issue: when the host company specifies a very small targeting attribute truncation (for example, a length of 1), it can result in a situation where, despite receiving valid bids, the auction returns no targeting because mandatory keys are absent. This update adds a warning to notify the person investigating the issue about what’s happening.

osulzhenko avatar Oct 03 '25 08:10 osulzhenko

Discussed this in backlog. I suspect we could also use a warning in PBS-Go for this situation. In this scenario, if the truncation size is too small the produced targeting keys will be too short missing the required prefix needed to be of value.

bsardo avatar Oct 03 '25 14:10 bsardo