Instream video with HBM and GAM
Configure instream video auctions with HB Manager, Google Ad Manager, and a video player.
Run instream video auctions with HB Manager and Google Ad Manager.
One Prebid auction can load banner and instream placements together. This allows pre-roll inventory to load alongside display inventory.
Before you begin
Google Ad Manager needs separate line items for in-player video creatives. Contact Relevant Yield Support if you need them created.
1. Add Prebid modules
Your Prebid build needs these modules:
dfpAdServerVideo — Required for this integration.
instreamTracking — Optional. Enables instream revenue in Headerbid Analytics reports.

Select Global programmatic tag.
Select Manage builds.
Open the Prebid build you want to update.

Add dfpAdServerVideo and, optionally, instreamTracking under Extra modules.
Click Save. The build completes in a few minutes.
2. Create an instream placement type
Create a placement type with Instream video as its type.

Add a dimension to set the default playerSize.
Override it through Instream video settings in Prebid parameters when needed.

3. Add instream placements
Add placements as usual, then select the instream placement type.

Add the placement to the site's normal Prebid configuration.
4. Implement the player integration
This example uses the Brid.TV player. The same workflow applies to other players.
Create video slots with relevantDigital.defineVideoSlots(). Create slots once per page. You can reuse a GAM ad-unit path for multiple pre-roll videos.
Load ads with relevantDigital.loadPrebid().
Use relevantDigital.loadVideoUrls() to receive VAST URLs for the player.
Brid.TV example
Last updated
Was this helpful?