OptiView Ads SDK
    Preparing search index...

    Interface AdClickEvent

    Emitted when the on-screen ad is clicked (viewer tap or OptiViewAds.clickAd). clickThrough is the asset's declared URL. The SDK does not navigate automatically; your application decides how to open the destination.

    interface AdClickEvent {
        asset: Asset;
        break: Break;
        clickThrough?: string;
        format?: BreakFormat;
        timestamp: number;
        type: "adclick";
    }

    Hierarchy (View Summary)

    Index
    asset: Asset
    break: Break
    clickThrough?: string
    format?: BreakFormat

    Declared format of the break's selected variant.

    timestamp: number
    type: "adclick"