Interface CreateAdEvent

CustomEvent type for 'nitroAds.createAd' event. Fired when an ad placement is created.

interface CreateAdEvent {
    acceptable?: boolean;
    id: string;
    options: NitroAdOptions;
}

Properties

acceptable?: boolean

True if this is an acceptable ads placement, false if not acceptable, undefined if not yet available.

id: string

Placement id

Placement options