prebid / professor-prebid

Prebid's next-gen debugging tool
Apache License 2.0
23 stars 20 forks source link

[Feature Request] Intercept Debugging needs requestBidder #87

Closed hkimmgni closed 5 months ago

hkimmgni commented 7 months ago

Request to add requestBidder in the intercept debugging mode.

Professor Prebid - requestBidder not available requestBidder

Error Log without requestBid

image

The error seems to go away when I include requestBidder pbjs.setConfig({ debugging: { enabled: true, intercept: [ { when: { // intercept bids from bidderA that have adUnitCode === 'test-div' adUnitCode: 'MOBILE_BLOG_BTF_04', requestBidder: 'flipp', bidder: 'flipp' }, then: { // mock their response with sane defaults andcpm: 10 cpm: 20 } }, ] } });