Practice

Practice

Build a Prebid.js config to spec

Write a real pbjs.setConfig / addAdUnits block that meets every requirement. Submit for an instant graded result. Signed-in attempts count toward your progress.

Brief
You are setting up header bidding for a single 300x250 ad slot.
Write the Prebid.js initialization block (a pbjs.setConfig call plus pbjs.addAdUnits)
that meets every requirement below. Paste only the config; you do not need the surrounding page.

Requirements:
1. bidderTimeout set to exactly 1200 (ms).
2. priceGranularity set to 'high'.
3. A consentManagement module configured (GDPR / TCF).
4. A schain (SupplyChain Object) present.
5. At least 2 bidders on the ad unit.
6. The ad unit carries a 300x250 banner size.
7. Do NOT enable send-all-bids (enableSendAllBids must not be true).
Your config