1 0 6000 0 600 120 30 https://headerbidding.co 960 0

How to Set a Bid Floor in Prebid.JS?

Here’s a sample code for setting up a Bid Floor in Prebid.JS.

Many times publishers come across a network that doesn’t follow the price floor in the prebid set-up. In such instances, a publisher can add a bidder setting that reduces any bid below your floor to zero. For example (source):

pbjs.bidderSettings = {
	standard: {
		bidCpmAdjustment : function(bidCpm, bid){
if(bidCpm < 0.5) { return 0.00; } 		}

The above-example will reduce any bid value lesser than 0.5 to 0 so that the Prebid doesn’t pass it to the ad server.

For more information, you can refer Prebid documentation on price floor.

Ad Ops Quick Fix

Automatad Team

At Automatad, we help publishers to monetize better without hampering the user experience. Our products are live across hundreds of publishers, earning them incremental ad revenue with every passing second. You can request a free audit to get an estimated revenue uplift today.

Ad Ops FAQ
Previous Post
How to Set-up a Prog...
Next Post
How to Check the Per...
Leave a Reply