-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
EDIT 1
Seems that setting floor values works, e.g. pbjs.setConfig({ floors: { data: { values: { '*': 0.01 } } } })
So the sentence
Every call to setConfig overwrites supplied values at the top level
from the setConfig docs is not actually true in this case?
Type of issue
bug
Description
removing / unsetting floors with pbjs.setConfig({ floors: {} }) has no effect, "old" floors from previous configuration are still used.
Steps to reproduce
- run an auction with a default price floors e.g.
pbjs.setConfig({ floors: { config: { default: 0.1, floorMin: 0.1 } } }) - after several seconds unset/remove floors
pbjs.setConfig({ floors: {} }) - run another auction, default floor is still enforced
Test page
N/A
Expected results
unsetting floors from config should stop floor enforcement on subsequent auctions
Actual results
removing floors does nothing?
Platform details
- prebid.js 7.39.0
- chrome 113
Other information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done