AdConfig

Interface with ad launch parameters.

Properties

Properties

Name Type Mandatory Description
adBreakType AdBreakType No Ad unit type. Specified if no additional loading of ad parameters from the YAN is required.
category number Yes Partner site section category.
desiredBitrate number No Recommended bitrate in kbps. A video with a bitrate as close as possible to the specified one is selected.
partnerId number Yes Partner ID that can be found in the Partner Interface.
partnerStatId string No Sample ID. A number between 1 and 1000000000.
preferableAdSize PixelSize No Preferred ad size.
trackingEvents TrackingEvents No Object with VAST event names.
vast string No XML-VAST document (string).
vastUrl string No Link to be used to load VAST for serving ads.
impId number No Ad unit ID (AdBreak). If omitted, a preroll unit is used.
vmapLoadTimeout milliseconds No Maximum allowed VMAP loading time.