Show Menu
TOPICS×

Ad fallback behavior for VAST and VMAP

When Primetime ad decisioningencounters a VAST ad (creative) that is empty or that has a media type that is invalid for HLS, it evaluates the fallback ads to determine what to return.
In TVSDK, the only valid media type is application/x-mpegURL (M3U8).
When there are stand-alone fallback ads, the Primetime ad decisioningplug-in examines these ads in the following order and returns the first ad with a valid media type:
  1. If repackaging is enabled, the first occurrence of an ad with an invalid media type is treated like other invalid media types.
    If repackaging fails, this process applies to additional occurrences of the ad.
  2. If TVSDK finds no valid fallback ads, it returns the original ad with the invalid media type.
  3. If a fallback ad with a valid MIME type is returned instead of the original ad, Primetime ad decisioningsends error code 403 to the VAST error URL, if available.
  4. If a fallback ad is a wrapper and returns multiple ads, only ads with the correct media type are returned.
This behavior is always enabled for ads in VAST wrappers. For VAST ads inline in a VMAP, the behavior is disabled by default, but your application can enable it.