Interface RequestNextAdOptions

Options map to {link

Request Next Ad

}

Hierarchy

Properties

fallbackOnNoAd?: boolean

Tells the video player to select an ad from any stand-alone ads available. Note: if the VastChain contains an adPod this property will be ignored. Defaults to true.

timeout?: number

Timeout number in milliseconds. If set, the request will timeout if it is not fulfilled before the specified time.

tracker?: PixelTracker

Optional function to track whatever errors occur during the loading. Defaults to video-ad-tracker track method.

useAdBuffet?: boolean

Specifies whether to use buffet ads from an ad pod if possible. If no buffet ad is available it will return the next ad in ad pod sequence. Set it to true if an ad from an adPod failed and you want to replace it with an ad from the ad buffet. Defaults to false.

wrapperLimit?: number

Sets the maximum number of wrappers allowed in the VastChain. Defaults to 5.

Generated using TypeDoc