prebid / professor-prebid

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

[Feature Request] Intercept Debugging needs requestBidder #87

Closed hkimmgni closed 1 month ago

hkimmgni commented 3 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 } }, ] } });