OptiView Ads SDK
    Preparing search index...

    Interface AdBeginEvent

    Emitted when an individual ad starts playing.

    interface AdBeginEvent {
        adId?: string;
        adIndex: number;
        asset: Asset;
        break: Break;
        creativeId?: string;
        format?: BreakFormat;
        podPosition?: number;
        timestamp: number;
        totalAds: number;
        type: "adbegin";
    }

    Hierarchy (View Summary)

    Index
    adId?: string

    IMA's ad id for an ad of a GAM pod, where several creatives play under one asset. Absent otherwise.

    adIndex: number
    asset: Asset
    break: Break
    creativeId?: string

    IMA's creative id for an ad of a GAM pod.

    format?: BreakFormat

    Declared format of the break's selected variant.

    podPosition?: number

    1-based position within the pod as reported at runtime (IMA getAdPodInfo().getAdPosition() / VAST sequence).

    timestamp: number
    totalAds: number
    type: "adbegin"