Class VideoAdContainer

This class provides everything necessary to contain and create a video ad within a given placeholder Element.

Hierarchy

  • VideoAdContainer

Constructors

Methods

  • Adds the passed script to the ad container.

    Parameters

    Returns Promise<HTMLScriptElement>

  • Adds the slot to the ad container.

    Parameters

    • width: number

      Slot width.

    • height: number

      Slot height.

    Returns void

  • Checks if the container is destroyed.

    Returns boolean

    true if the container is destroyed and false otherwise.

Generated using TypeDoc