-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Currently, the Price Floor module injects floor-specific data into the bid object using two hooks: requestBidsHook and addBidResponseHook.
On requestBidsHook,
it appends fields such as model_version, model_weight, fetch_status, floor_provider, location, and several others https://github.com/prebid/Prebid.js/blob/master/modules/priceFloors.ts#L462C7-L462C21
On addBidResponseHook,
it adds additional fields like floor_value, floor_rule, floor_rule_value, and related parameters https://github.com/prebid/Prebid.js/blob/master/modules/priceFloors.ts#L965
The challenge is that addBidResponseHook is only triggered if at least one bidder returns a bid. Since the matched rule is important for model training, it would be more reliable to log these values during requestBidsHook. This way, the model can learn which floors are being sent to SSPs and why they might not be bidding on them.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status