Parameter when calling preroll type adBreak

interface IPrerollParams {
    adBreakDone?: ((placementInfo: IPlacementInfo) => void);
    type: "preroll";
}

Properties

Properties

adBreakDone?: ((placementInfo: IPlacementInfo) => void)

(OPTIONAL) Always called as the last step in an adBreak(), even if there was no ad shown. Function takes as argument a placementInfo object

Type declaration

    • (placementInfo): void
    • Parameters

      Returns void

type

'preroll' before the game loads (before UI has rendered)