Interface VerizonMediaResponseLiveAd

Represents a Verizon Media response with live ads.

interface VerizonMediaResponseLiveAd {
    ad_id: string;
    apiFramework: null | string;
    companions: VerizonMediaResponseLiveAd[];
    creative: string;
    duration: number;
    extensions?: object[];
    fw_parameters?: Record<string, string>;
    height: number;
    mimeType: string;
    width: number;
}

Properties

ad_id: string

Identifier for the ad.

apiFramework: null | string

The API framework, if any.

Remarks


- If the value is 'VPAID', then the ad is a VPAID ad.
- Otherwise the ad is an Uplynk CMS asset.

List of companion ads of the ad.

creative: string

The creative identifier.

Remarks


- Either a VPAID URL if the API framework is 'VPAID'.
- Otherwise an asset ID from the Uplynk CMS.

duration: number

The duration of the ad, in seconds.

extensions?: object[]

List of VAST extensions returned by the ad server.

fw_parameters?: Record<string, string>

Record of FreeWheel-defined creative parameters. Each entry contains the parameter name together with the associated value.

height: number

The height of the ad, in pixels.

Remarks


- Returns 0 when this is not a companion.

mimeType: string

The creative's mime type.

Remarks


- Either 'application/javascript' if the API framework is 'VPAID'.
- Otherwise 'uplynk/m3u8'.

width: number

The width of the ad, in pixels.

Remarks


- Returns 0 when this is not a companion.