How to Install Third-Party Video Ad Tags in DFP

DoubleClick For Publishers / Google Ad Manager Ad Optimization
Last updated: July 12, 2019 | by Kean Graham
How to Install Third-Party Video Ad Tags in DFP

This post was most recently updated on July 12th, 2019

In this tutorial, we’ll be showing you how to install third-party video ad tags in DFP. Let’s get started!


#1 – The site should be in HTTPs or HTTP.

#2 – You should be using the Google IMA SDK for auto-insertion of macros.


Step 1: Login to your DFP account and go straight to Inventory tab then to Ad units and select the appropriate video configured Ad unit.

Step 2: Generate the Tag, select Google Publisher Tag under Select Tag Type and click Continue.

Step 3: Select the appropriate tag option and click Continue.

Step 4: Copy the generated code from the box and click Done.

Step 5: Select Delivery tab then click Order and select the existing order to which the line item will be created to serve the video ad.

Step 6: Click on New Line Item button and fill out all the details then click Save and Upload creative set.

Note: Select Video VAST under Inventory sizes for the creative sets to work.

In the Master box, once you enter the video size, recommended video sizes are being listed affixed with “v” which tells you that these are the video sizes available in your inventory.

It is recommended that you configure the line item to Price Priority if its an Ad Exchange line item and you want it to compete with other video ad providers regarding price.

Step 7: Fill out all the details in the creative set and click Save.

Note: The “Redirect” creative set type should be selected as it targets the third-party ad server and requires the VAST tag from an advertiser.

Take note that the VAST redirect URL has the “?” character in it and be aware that the SDK encodes everything. Therefore, the use of this character might cause an error if you’re using the IMA SDK.

Test your VAST tag URL provided by the advertiser to ensure smooth delivery of the ads.

Creative sets are composed of a master creative and its optional companions. It will still send the VAST response to a video player with only the master creative set.

You may implement multiple creative sets for each video line item, and DFP will rotationally deliver the ad for those creative sets with the same inventory sizes.

Fluid sizes are not supported for DFP Video companion ads.

To serve video ads with companion creatives, your video player, and web page must both be configured correctly by setting the companion ad sizes into the “ciu_szs” parameter on the video player request when using the IMA SDK.

Display ad slots should also be defined using GPT tags that specify how companion ads should behave. If your video player is an iframe, you need to include a GPT proxy script in your HTML.

Step 8: You will be routed to the Preview tab, and you’re done!


There you have it! Now you know how to set up third-party video ad tags in DFP. Be sure to subscribe to our newsletter below for more ad optimization tips.

To find out how MonetizeMore can help increase your ad revenues, book your free consultation today.

Ad Ops Tips & Guides, Industry News, Latest Tech and Success Stories - right in your inbox.

We are committed to protecting you Privacy Data

Here’s the course that 300+ pubs used to scale their ad revenue.

Enroll today

Book Banner

"Working with MonetizeMore has been a transformative experience as they helped to increase my overall revenues by over 180%"



Paid to Publishers


Ad Requests Monthly


Happy Publishers

Recommended Reading

September 29, 2023

Advanced Ads vs Ad Inserter

Read More
Video Ad Optimization
September 28, 2023

The Best Video Ad Formats (STOP missing out on these!)

Read More
how to implement adsense auto ads
AdSense Ad Optimization
September 27, 2023

How to best implement AdSense Auto Ads

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk


Ready to 10X your ad revenue with the #1 ad management partner?

Start Now