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

hb_pb values may be incorrect

Open sjccoder opened this issue 10 years ago • 9 comments

Hi,

We are using prebid.js in post-bidding scenario and have seen that for a few exchanges the hb_pb value s are lower than what we are getting paid. Our impression count matches but it seems exchanges pay us higher at the end of the day. Has anyone experienced this issue before?

Any suggestions would be appreciated.

Thanks, Neil

sjccoder avatar Oct 10 '16 21:10 sjccoder

Hi @sjccoder hb_pb values are rounded before sending to DFP. So that can be the reason you are seeing the difference in price. You can use Bidder Setttings and Price Granularity to customize pbjs implementation.

jaiminpanchal27 avatar Oct 11 '16 14:10 jaiminpanchal27

Hi Jaimin, Thanks for your update. Unfortunately that cannot be the case as the rounding error can cause only 1 cent of error. We are seeing an error of ~30 cent in CPMs. We use postbid mostly and do not deal with price granularity. Thanks, Neil

sjccoder avatar Oct 11 '16 17:10 sjccoder

@sjccoder Do you have an example postbid ad?

mkendall07 avatar Oct 11 '16 18:10 mkendall07

@sjccoder any other information you can provide? The default rounding rounds down on $0.10 increments, so it's not just a 1 cent rounding.

mkendall07 avatar Oct 13 '16 14:10 mkendall07

Hi Matt,

Our discrepancy is about $0.50 (on $2.50 eCPM). It is almost 20%.

I am attaching our PB script. I really appreciate your help.

Thanks, Neil PB SCRIPT.pdf

sjccoder avatar Oct 13 '16 17:10 sjccoder

Are you setting your price granularity properly?

GLStephen avatar Oct 26 '16 14:10 GLStephen

@sjccoder I checked your code and it looks fine. I don't see any reason why you would be seeing a discrepancy. Do you have any other data that proves this out?

mkendall07 avatar Oct 26 '16 19:10 mkendall07

My apologies for a delayed response. For some reason, these notifications were sitting in my junk folder. I do not know what the issue was but when we migrated the setup to HB from PB, our reporting seems to be correct now. I guess we can close this issue. Thanks again for your support.

sjccoder avatar Nov 07 '16 20:11 sjccoder

Glad to hear that issue is solved. Thanks for update.

jaiminpanchal27 avatar Nov 07 '16 20:11 jaiminpanchal27