This article will teach you how to add a VPAID Tag to your ad unit.
In this article, you will learn:
How to Add a VPAID Tag to Your Ad Unit
How to Add a VPAID Tag to Your Ad Unit
There are two different ways to add a VPAID video player to an Adventive ad unit - Inserting a VPAID URL or by inserting a VPAID code snippet.
- In the Builder, Create a New File.
- Choose the ad format and dimensions of the ad unit you wish to add the VPAID tag to. For guidance on building specific formats, check out this article.
- Click Submit.
Insert a VPAID URL - VAST Video Component
- To Insert a VPAID URL, select the components icon
, Video Player > VAST Tag from the left side menu:
- A 300x250 video placeholder will appear on the canvas and a “VAST Tag” layer will appear at bottom of builder in Screens & Layers panel.
- With the placeholder selected, you’ll see the Video Component Properties appear, with VAST Tag selected, to the right of the Builder.
- Paste the VPAID URL into the URL field:
- The VAST Video should now appear on your canvas.
- Be sure to resize the player container if needed to avoid cutting off video content.
- Save and use the Ad Previewer to test positioning and size for best results.
Insert a VPAID Code Snippet - HTML5 Import Component
- To insert a VPAID code snippet, select the components icon
, HTML5 Import from the left side menu:
- With the placeholder selected, select Paste Snippet from the dropdown under the HTML5 Import Menu in the right side properties panel. Click Open Snippet Editor.
- The code editor will open, here paste the VPAID code snippet.
- Your VPAID ad will load in the 300x250 frame.
* Note - You can also test your tag for any errors with Google's Vast inspector: https://developers.google.com/interactive-media-ads/docs/sdks/html5/vastinspector
* Errors can occur when either the encoding or decoding of a URI was not successful. You should ensure that any special characters in your URI strings are encoded correctly. - Move and resize the placeholder on your canvas by click/dragging or using the General Properties width and height to the right of the builder.
- Default clickthrough URLs will not override VPAID files, so you’ll want to add a Hitbox over the entire ad to ensure users can click through.
- If clickthrough data is already embedded in the tag, but you want to also track clicks in Adventive, OR overwrite the embedded URL, you'll need to add a Hitbox over the entire unit and add the default URL/Click Tracker as an Open URL Action.
* Note - You will not need to extract the Impression tracker from the file/do not add under 3rd party tracking, as it will already be embedded in the tag, and to avoid counting twice. - Save and use the Ad Previewer to test positioning and size for best results.