Interface VastAdUnitOptions

Options map to create a VastAdUnit

Hierarchy

Properties

hooks?: Hooks

Optional map with hooks to configure the behaviour of the ad.

logger?: Console

Optional logger instance. Must comply to the Console interface. Defaults to window.console

pauseOnAdClick?: boolean

if true it will pause the ad unit whenever a user click on the ad Defaults to true

responsive?: boolean

if true it will resize the ad unit whenever the ad container changes sizes Defaults to false

viewability?: boolean

if true it will pause the ad whenever is not visible for the viewer. Defaults to false

Generated using TypeDoc