Closed ghost closed 7 years ago
Bug
For video header bidding, when Rubicon is the only bidder configured and it returns an empty bid or error, we get a javascript error:
ERROR: Error executing bidsBackHandler" TypeError: Cannot read property 'adserverTargeting' of undefined
in pbjs.adServers.dfp.buildVideoUrl. Video doesn't play.
pbjs.adServers.dfp.buildVideoUrl
Take the example JWPlayer code from here, replace appnexusAst bidder with rubicon and invalid IDs (to force an error), turn on debugging, view console.
jsfiddle
No javascript error, video should still play. pbjs.adServers.dfp.buildVideoUrl should still return a valid URL.
Javascript error, video doesn't play. pbjs.adServers.dfp.buildVideoUrl doesn't return.
prebid v0.30.1. Tested on MacOS 10.12.6, Chrome 61.
I think this issue is consistent across video bidders, so most likely not a rubicon adapter issue.
Type of issue
Bug
Description
For video header bidding, when Rubicon is the only bidder configured and it returns an empty bid or error, we get a javascript error:
ERROR: Error executing bidsBackHandler" TypeError: Cannot read property 'adserverTargeting' of undefined
in
pbjs.adServers.dfp.buildVideoUrl
. Video doesn't play.Steps to reproduce
Take the example JWPlayer code from here, replace appnexusAst bidder with rubicon and invalid IDs (to force an error), turn on debugging, view console.
Test page
jsfiddle
Expected results
No javascript error, video should still play.
pbjs.adServers.dfp.buildVideoUrl
should still return a valid URL.Actual results
Javascript error, video doesn't play.
pbjs.adServers.dfp.buildVideoUrl
doesn't return.Platform details
prebid v0.30.1. Tested on MacOS 10.12.6, Chrome 61.