THEOplayer Web SDK
    Preparing search index...

    Interface AdErrorEvent

    Fired when an ad errors.

    interface AdErrorEvent {
        ad: Ad | undefined;
        date: Date;
        errorCode: number;
        message: string;
        type: "aderror";
    }

    Hierarchy (View Summary)

    • Event<"aderror">
      • AdErrorEvent
    Index
    ad: Ad | undefined

    The ad that caused the error, if available.


    - This is undefined when the erroring ad cannot be identified (e.g. a VAST request failure).

    date: Date

    The creation date of the event.

    errorCode: number

    The error code.


    - Follows the VAST error codes, see the Google IMA error code reference.
    - This is 900 (undefined error) when the ad integration does not provide a specific error code.

    message: string

    A human-readable message describing the error.

    type: "aderror"

    The type of the event.