For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

1. Add Prebid modules

Your Prebid build needs these modules:

  • dfpAdServerVideo — Required for this integration.

  • instreamTracking — Optional. Enables instream revenue in Headerbid Analytics reports.

The IMA SDK may not report instream tracking automatically. Use relevantDigital.Auction.registerImpressionByAdId() when you must register impressions manually.

1
  1. Select Global programmatic tag.

  2. Select Manage builds.

  3. Open the Prebid build you want to update.

2
  1. Add dfpAdServerVideo and, optionally, instreamTracking under Extra modules.

  2. 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.

3

Add a dimension to set the default playerSize.

Override it through Instream video settings in Prebid parameters when needed.

4

Instream settings describe inventory to SSPs. They do not control the video player.

3. Add instream placements

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

5

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.

  1. Create video slots with relevantDigital.defineVideoSlots(). Create slots once per page. You can reuse a GAM ad-unit path for multiple pre-roll videos.

  2. Use relevantDigital.loadVideoUrls() to receive VAST URLs for the player.

Brid.TV example

Last updated

Was this helpful?