THEOplayer Web SDK
    Preparing search index...

    Interface UplynkResponseLiveAd

    Represents an Uplynk response with live ads.

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

    Properties

    ad_id: string

    Identifier for the ad.

    apiFramework: null | string

    The API framework, if any.


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

    companions: UplynkResponseLiveAd[]

    List of companion ads of the ad.

    creative: string

    The creative identifier.


    - 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.


    - Returns 0 when this is not a companion.

    mimeType: string

    The creative's mime type.


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

    width: number

    The width of the ad, in pixels.


    - Returns 0 when this is not a companion.