Emitted when the playback of an ad has started.

interface AdStartedEvent {
    ad?: Ad;
    clickThroughUrl?: string;
    clientType?: AdSourceType;
    duration: number;
    indexInQueue: number;
    name: string;
    position?: string;
    skipOffset: number;
    timeOffset: number;
    timestamp: number;
}

Hierarchy (view full)

Properties

ad?: Ad

The Ad this event is related to.

clickThroughUrl?: string

The target URL to open once the user clicks on the ad.

clientType?: AdSourceType

The AdSourceType of the started ad.

duration: number

The duration of the ad in seconds.

indexInQueue: number

The index of the ad in the queue.

name: string

This event name as it is on the native side.

position?: string

The position of the corresponding ad.

skipOffset: number

The skip offset of the ad in seconds.

timeOffset: number

The main content time at which the ad is played.

timestamp: number

The UNIX timestamp in which this event happened.