Notification

Only available in Google Ad Manager 360.

Create an ad tag for DAI

Once you've set up video inventory for Dynamic Ad Insertion (DAI), you can generate an ad tag. The tag generation process is generally the same as any other video ad tag. However, some tag modifications need to be made to ensure compatibility with either a live linear stream or for video on demand (VOD) content.

When you generate an ad tag, you have the option to select an existing or create a new ad unit. Google Ad Manager strongly recommends that you create unique ad units for DAI, which allows you to assign specific creatives to specific DAI inventory and run reports exclusively on DAI delivery.

Dynamic Ad Insertion requires the use of optimized pods. Standard pods are not supported.

Generate an ad tag for DAI

  1. Sign in to Google Ad Manager.
  2. Click Inventory, then Ad units.
  3. Locate and select your DAI ad unit.
  4. Click Tags.
  5. Select "Google Publisher Tag for Video and Audio" and click Continue.
  6. Complete the steps to generate a video ad tag and ensure the following when you select your tag options:

    • Turn on "Enable for "Live traffic" if this tag runs ads on a live event. This step is not necessary for VOD.

    • Select ad unit sizes for video only. These are designated by a "v" in the unit size (for example, 640x480v).

  7. Click Continue after you select your tag options.

  8. Click Copy tag.

Modify the ad tag

Whether the inventory is for a live linear stream or a VOD content source, the ad tag needs to be modified and saved to the correct location. Depending on your execution, make the modifications below.

Your video player or app can change the parameters of the ad tag when it requests ads for individual user streams, but the tag specified in Ad Manager needs to conform to the below.

Learn how to supply targeting parameters to your stream.

live linear

Live linear ad tags

         
  • Must use https://
  • GPT tags must use the URL and path: https://pubads.g.doubleclick.net/gampad/live/ads
  • Must set a value for the sz and iu parameters
  • Must set the output parameter to xml_vast3 or xml_vast4
  • Must set the following parameters to the following values: impl=s, env=vp, gdfp_req=1, unviewed_position_start=1, ad_rule=0
  • (Optional) You can control which creatives are eligible to serve based on a configuration set up in a video creative profile by adding the pp parameter and associated profile name.
Video on demand

Video on demand ad tags

         
  • Must use https://
  • GPT tags must use the URL and path: https://pubads.g.doubleclick.net/gampad/ads
  • Must set a value for the sz and iu parameters
  • Must set the output parameter to xml_vmap1
  • Must set the following parameters to the following values: impl=s, env=vp, gdfp_req=1, unviewed_position_start=1, ad_rule=1
  • Add the cmsid and vid parameters and assign them to their macros. It should look like this: &cmsid=%%CMS_ID%%&vid=%%VIDEO_ID%%.
  • (Optional) You can control which creatives are eligible to serve based on a configuration set up in a video creative profile by adding the pp parameter and associated profile name.

The url and description_url parameters are not set automatically by the IMA SDK for CTVs. These parameters need to be set manually.

Learn more about any of these video ad tag parameters, or see details about the video content macros available for Dynamic Ad Insertion, including examples.

Save the modified ad tag to your content in Ad Manager

live linear

Live linear

 
  1. Click Video, then Live streams. Open your live stream.
  2. Locate and update the ad tag in either the pre-roll or mid-roll ad break settings.

  3. Click Save.
Video on demand

Video on demand

 
  1. Click Edit to edit the enabled Dynamic Ad Insertion settings.
  2. Locate the "Ad tag" field from the "Settings for Dynamic Ad Insertion" and paste your modified ad tag.

  3. Click Save.

Generate a tag from a live stream event

  1. Sign in to Google Ad Manager.

  2. Click Video, then Live Streams, and then either New live stream or select an existing live stream.

  3. Locate pre or mid-roll ad break settings.

  4. Click Create tag.

  5. Select "Google Publisher Tag for Live Video", and click Continue.

  6. Complete the Ad unit name, Inventory unit size and Custom Targeting.

  7. Click Continue to generate the ad tag.

  8. (Optional) Click Copy tag.
    Copy tag is only necessary if you want to use the tag elsewhere.

  9. Click Save.

Generate a tag from content sources

  1. Sign in to Google Ad Manager.

  2. Click Video, then Content Sources, and then either New content source or select an existing content source.

  3. Enable Dynamic ad insertion.

  4. Click Create tag. Select "Google Publisher Tag for Video-on-demand", and click Continue.

  5. Complete the Ad unit name, Inventory unit size and Custom Targeting.

  6. Click Continue to generate the ad tag.

  7. (Optional) Click Copy tag.
    Copy tag is only necessary if you want to use the tag elsewhere.

  8. Click Save.

For any issues related to DAI troubleshooting or outages, contact publisher support.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
11770923116246916186
true
Search Help Center
true
true
true
true
true
148