Function runWaterfall

  • Will try to start one of the ads returned by the adTag. It will keep trying until it times out or it runs out of ads.

    Parameters

    • adTag: string

      The VAST ad tag request url.

    • placeholder: HTMLElement

      placeholder element that will contain the video ad.

    • options: RunWaterfallOptions

      Options Map

    Returns CancelFunction

    CancelFunction function. If called it will cancel the ad run. ~onRunFinish will still be called;

Generated using TypeDoc