Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Post-Bid Tag Floor Pricing

Open digitalthrottle opened this issue 10 years ago • 7 comments

We're using just post-bid tag. Rather than setting up the floor price within each of the network's we're calling, is there any method to pass our floor CPM through the tag or somehow interface with our DFP line item?

Thank you,

digitalthrottle avatar Sep 02 '16 19:09 digitalthrottle

@digitalthrottle Have you tried changing the configuration to send a custom price bucket? This could be modified to create a floor bid. See http://prebid.github.io/dev-docs/examples/custom-price-bucket.html

mkendall07 avatar Sep 04 '16 19:09 mkendall07

Thanks for the direction. We worked on something where we push a bidRespone to "0.00" if the CPM is less than the desired floor. I'm assuming the JS won't allow a "0.00" bid to win?

Does this seem in the correct direction if our hard floor min CPM was $1.35?

key: "custom_bid_price_key", val: function(bidResponse) { var cpm = bidResponse.cpm; if (cpm < 1.35) { return 0.00;

Thanks again,

digitalthrottle avatar Sep 07 '16 00:09 digitalthrottle

Well the adjustment actually happens post auction, but it will force the value to 0.00 in the key/value pair in DFP, so as long as you don't have line items targeting a 0 value (you shouldn't) it should work fine.

mkendall07 avatar Sep 07 '16 00:09 mkendall07

Ah - so this is actually using key/value pair. I was thinking it impacted the bid decisioning.

digitalthrottle avatar Sep 07 '16 00:09 digitalthrottle

You can actually adjust the price pre auction using bidCpmAdjustment - which might be more appropriate for your situation. Search bidCpmAdjustment in this doc: http://prebid.github.io/dev-docs/publisher-api-reference.html

bidCpmAdjustment: function (bidCpm) {
                        if(bidCpm < floor){
                          return 0;
                        }
                        return bidCpm; 
                    },

mkendall07 avatar Sep 07 '16 00:09 mkendall07

Awesome - that is right on the money. We'll give it a test and post back.

Best-

digitalthrottle avatar Sep 07 '16 00:09 digitalthrottle

Oooh that's something I will look into!

ericsson66 avatar Sep 09 '16 15:09 ericsson66