VerizonMediaResponseVodAd

public protocol VerizonMediaResponseVodAd

The Verizon Media Response Vod ad API.

  • Duration of the ad, in seconds.

    Declaration

    Swift

    var duration: Int { get }
  • Indicates the API framework if applicable.

    Remark

    • If the value is “VPAID”, then the ad is a VPAID ad.
    • Otherwise the ad is an Uplynk CMS asset.

    Declaration

    Swift

    var apiFramework: String { get }
  • The identifier of the creative.

    Remark

    • Either a VPAID URL if the API framework is “VPAID”.
    • Otherwise an asset ID from the Uplynk CMS.

    Declaration

    Swift

    var creative: String { get }
  • The textual representation of the creative’s mime type.

    Remark

    • Either “application/javascript” if the API framework is “VPAID”.
    • Otherwise “uplynk/m3u8”.

    Declaration

    Swift

    var mimeType: String { get }
  • The width of a companion ad, in pixels.

    Remark

    Returns 0 in case of a non-companion ad.

    Declaration

    Swift

    var width: Int { get }
  • The height of a companion ad, in pixels.

    Remark

    Returns 0 in case of a non-companion ad.

    Declaration

    Swift

    var height: Int { get }
  • List of companion ads of this ad.

    Declaration

    Swift

    var companions: [VerizonMediaResponseVodAd] { get }
  • The custom set of VAST extensions returned by the ad server.

    Declaration

    Swift

    var extensions: [Dictionary<String, Any>] { get }
  • All FreeWheel-defined creative parameters.

    Declaration

    Swift

    var fw_parameters: [String : String] { get }