Floors Module: Publisher provided minimum floor
Type of issue
Intent to implement
Description
When publishers work with Floor Providers using the Prebid Floors Module, publishers give them full trust and control of setting Prebid floors. There may be scenarios where publishers may wish to have floors higher than those provided by the floors provider such as:
- Channel conflict
- Publisher rate minimums
- Using their own floor model as a minimum to help lift CPMs
If a publisher provided minimum CPM is set, the Floors Module will use the higher of the rule floor or min floor when signaling and enforcing.
Technical requirements
- Field name for publisher minimum floor should be called
floorMin floorMinshould be located at the root level of thefloorsobject represented as a float- If
floorMinis a non-zero float andgetFloor( )is called,getFloorwill take the higher CPM of the winning rule floor andfloorMin - To prevent a breaking change
bidResponse.floorData.floorValuewill still be the floor enforced, even it the value resolves tofloorMin- A new floor attribute
floorRuleValueshould be created to allow floor providers to understand the context of the rule floor in the event thefloorMinis the selected floor floorMinshould be available to be available to analytics adapters as wellfloorMinshould be added tobidResponse.floorDatato let analytics adapters to know context offloorMin
- A new floor attribute
floorMinshould follow a similar flow all other rules, regulated byskipRatebut apply no matter which rule group applies (i.e. fetch, setConfig or adUnit floors)floorMinonly applies when floors are used (i.e. does not apply whenskipRateis true or when the floors module does not find rules to attach to)
Example setting a publisher minimum floor with a set config:
pbjs.setConfig({
floors: {
floorMin: 0.90
enforcement: {
floorDeals: true, //default to false
},
auctionDelay: 100, // in milliseconds
endpoint: {
url: 'https://floorprovider.com/a1001-mysite.json'
}
}
});
Other information
On number three, it seems the integer requirement is strange, why not a float?
On number four, this seems like an opportunity to add an option to the enforcefloors key-value pair in the config.
On number three, it seems the integer requirement is strange, why not a float?
On number four, this seems like an opportunity to add an option to the enforcefloors key-value pair in the config.
Number three was intended to be a float as point 2 referenced. This was a typo.
Regarding number four, I am not sure what you mean by adding an option to enforcement key-value. Are you suggesting to giving an option just to enforce the minFloor but not signal?
I am suggesting that if you are choosing a behavior to avoid a breaking change, you can also have the preferred behavior available with an opt in config flag.
I am suggesting that if you are choosing a behavior to avoid a breaking change, you can also have the preferred behavior available with an opt in config flag.
It was partially to avoid a breaking change but also to keep with a consistent clear behavior of floorValue. It's not an issue to leave the floorValue bahavior as is and provide an additional object for analytics adapters to read the flooRuleValue if present.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.