NitroAds
    Preparing search index...

    Interface AdResultEvent

    CustomEvent type for 'nitroAds.adResult' event. Fired exactly once per AdRequestedEvent, within the placement's resultTimeout (default 5000ms, 15000ms for in-stream video) of the request, not counting time spent deferred.

    document.addEventListener('nitroAds.adResult', (event) => {
    if (event.detail.id === 'my-ad' && event.detail.status === 'blocked') {
    showUnblockMessage();
    }
    });
    interface AdResultEvent {
        adInfo?: AdInfo;
        demand: AdDemand;
        elapsedMs: number;
        id: string;
        reason?: string;
        refresh: boolean;
        requestId: string;
    }

    Hierarchy (View Summary)

    Index
    adInfo?: AdInfo

    Details on the rendered ad, only when status is filled

    demand: AdDemand

    Demand path serving the request

    elapsedMs: number

    Milliseconds between adRequested and adResult

    id: string

    Placement id

    reason?: string

    Machine readable reason, e.g. scalibur-loader, adunit-fetch, engine-start, geo-deny, media-query

    refresh: boolean

    True if this request is a refresh of the placement

    requestId: string

    Ad request id