VAST and End Cards
VAST is an IAB standard that structures ad tags for video player delivery and uses an XML schema to transfer necessary metadata from the ad server to the video player. Additionally, VAST standardizes in-stream video ad serving and linear videos, such as in-app, full-screen interstitial videos as specified by the IAB. The following steps describe the VAST process.
The video player pre-fetches the ad request.
The ad server returns an XML ad response, which contains:
VAST version
Impression tracking pixel
Video duration
Click tracking pixel
Click-through URL
Quartile-event tracking pixels fire at video start, 1st quartile, 2nd quartile, 3rd quartile, and video completion
URL to video media files
CompanionAdheight, width, and assets
The VAST response does not include any information on the placement or timing of video elements. To see the video player elements, see DT SDK Video Player.
A VAST ad markup is either INLINE, which contains all the elements necessary to display the video, or VAST Wrapper, which points to a downstream VAST document requested by another ad server.
A single click-through on the ad is expected, but multiple named click-tracking URIs (
CustomClick) allow per-publisher customization. In addition, separate URIs can be provided for tracking the (CustomClickTracking) and for the destination page to open upon a click-through (ClickThrough).The video player reports the quartile tracking URLs.
The ad server(s) record the impressions.
VAST Versions Supported by DT
DT accepts VAST 2.0 and higher.
DT supports some VAST 3.0 and VAST 4.x tracking event elements, including:
Fullscreen: The user activated a control to extend the video player to the edges of the viewer’s screen.Expand: The user activated a control to expand the creative.Exitfullscreen: The user activated the control to reduce the video player size to its original dimensions.Collapse: The user activated a control to reduce the creative to its original dimensions..Closelinear: The user clicked the close button on the creative.Progress: (iOS only) The creative played for a duration at normal speed that is equal to or greater than the value provided in an additional attribute for offset, starting from SDK 8.2.3.CompanionClickTracking: Available for both VAST wrappers and inline formats. For more information, see Companion Click Events.The DT SDK manages firing the VAST tracking pixels and rendering video playback.
VAST 2.0 is not entirely backward compatible with VAST 1.0
Events are only relevant for the use case where the video starts in a non-full-screen mode.
VAST Wrapper Handling Capabilities
When VAST 2.0 is supported and a bid request contains video.protocol:5 , DT provides the following VAST handling capabilities:
5 or less
Android:
mp4, webM, 3gpp
Android:
mp4, webM, 3gpp
When VAST 3.0 is supported and a bid request contains video.protocol:6 , DT provides the following VAST handling capabilities:
5 or less.
DT discards ads with more than 5 wrappers.
iOS:
mp4, m4v, Quicktime, 3gp2, 3gpp2, 3gp4, 3gpp4, application/javascript
iOS:
QuickTime, mp4, m4v, 3gpp, 3gpp2, x-m4v, 3gp2, 3gp4, 3gpp4
When VAST 3.0 wrapper is supported and a bid request contains video.protocol:8 , DT provides the following VAST handling capabilities:
DT recommends using as few wrappers as possible.
Flash and .mov are not supported.
Video Media File Size Limits
Optimal Performance
DT recommends running video file sizes under 3MB.
File Type
The file types considered for prioritization include MP4, 3GPP, and WebM. The order of file type preference is applied to Android and, similarly, to iOS based on their supported MIME types. DT respects the MIME types passed under the video object.
Bitrate
Maximum bitrate of 5000kbps. Preferred max bit rate is up to 2000kbps. Videos above 5000kbps are discarded.
Video Duration
Recommended duration of 30s.
Timeout
If DT cannot retrieve the video file within approximately 10 seconds, the video times out.
Aspect Ratios
The DT SDK runs videos with any aspect ratio; no constraints affect the aspect ratio. But recommends the following video aspect ratios: - 16:9 (for interstitial phone and tablet) - 4:3 (for iPad), 3:2, or 16:10 (Video Asset Algorithm).
Tracking Click Events on VAST
DT enriches the TrackingEvents object with the DT click tracking URL and fires the click when the user taps the call-to-action (CTA) button or a video without a CTA button. The video pauses if the user leaves the app and returns to it.
DT SDK Video Player
The following sections provide an overview of the features related to the DT video player.
Sound
The sound icon is always available for users to toggle and appears on the upper left of the user's screen. DT supports the device sound settings. If the device is on mute, the ad plays with sound off; otherwise, it plays with the sound on. Publishers can override sound settings per user session.
Skip
For non-rewarded videos that are 15 seconds or less in duration are not skippable. No Skip button appears, and DT attempts to show the end card immediately after video completion.
For non-rewarded videos that are longer than 15 seconds in duration, a Skip button appears in the upper right corner after 5 seconds. DT attempts to show the end card immediately after video completion.
Countdown Timer
A countdown timer displays at the bottom left corner based on the video duration specified in the VAST XML.
Call To Action
The default text on the Call to Action button is Install Now. When the system detects the app store as a landing page, the text on the Call to Action button is Download.
Video Close Behavior
Tapping the Close (X) button on the video end card returns the user to the app and resumes gameplay. Clicking the CTA button during video playback takes the user to the DSP landing page (app store, in-app browser, deep link). After closing the landing page, the video resumes on the Skip and Close logic.
End Card Behavior
Appears after video completion or when the user skips the video. The Close button (X) on the end card appears after 7 seconds. If no DSP-provided end card is available or if it fails to load, DT displays a default end card.
End Cards (Companion Ads)
An end card appears alongside or after the video content, when the user completes or closes the video. End cards may be interactive and often feature a call-to-action for the user. DT recommends using end cards with all video types to improve performance. For Playable End Cards, we recommend a maximum file size of 2MB.
The following specifications describe DT criteria for identifying End Card support in bid requests and implementing End Cards with video ads.
End Card Types
The end card types that the SDK can render are passed in video.companiontype field of the bid request:
1— static (image/gif,image/jpeg,image/pngMIME types)2— HTML3— iframe
MRAID End Card Support
The bid request reflects whether the SDK can render an MRAID end card by the value of video.ext.mraidendcard field:
0= MRAID end card is not supported1= MRAID end card is supported
End Card Ad Sizes
The minimum ad size is 300x250.
There is no maximum size for static end cards; static assets larger than the screen are automatically scaled down and centered.
HTML and iFrame end cards should not exceed the height and width passed in the bid request.
End Card Selection Algorithm
Assets are sorted and selected as follows:
First, the resource type is considered — HTML > iframe > static.
Then, for static images, the ad size is considered — the closest match to the device height and width.
Other End Card Criteria
If a media file fails to load, DT proceeds to the next one in the sequence. If no ad loads, DT tracks the error internally.
If no valid end card appears, DT blurs the last video frame and overlays a default end card with a CTA button.
After receiving the ad markup in the bid response, DT fetches the end card immediately after the video finishes playing.
End cards do not apply to Native ads.
Digital Turbine Default End Cards
DT pauses on the last frame of the video and adds a green call-to-action button with "Install Now" text.
Companion Click Events Tracking
The DT Exchange SDK handles the
CompanionClickThroughwhen a user clicks the end card.DT supports
CompanionClickTracking, a VAST 3.0 component, for VAST wrappers and VAST inline ads.
Video Click Tracking Enhancements
Understanding user engagement in real time is critical for creative optimization. DT supports the following substitution macros to add to your click tracking URLs for ClickTracking and CompanionClickTracking.
[ADPLAYHEAD]: Macro passes a value inHH:MM:SS.mmmformat, indicating the time the video ad played before the user clicked on the VAST CTA or Skip button.[CLICKAREA]: Macro passes a string value describing where the user clicks on the VAST ad:CTA: The user clicks on the CTA button on the video player.COMPANION: The user clicks on the end card.
Last updated

