Interface: SetupConfig
Properties
integrationId
integrationId:
string
The identifier for this integration. This value is used to determine the configuration and behavior of the integration.
height?
optionalheight:string
Enforce a height for the integration. You can pass in a number (interpreted as pixels) or a CSS value (e.g. 100px, 100%).
onComplete()?
optionalonComplete: (arg?) =>void
Callback that is called when the first content ended.
Parameters
arg?
unknown
Returns
void
onLoad()?
optionalonLoad: (integration) =>void
Callback that is called when the integration was loaded.
Parameters
integration
Returns
void
onPassback()?
optionalonPassback: (payload) =>void
Callback that is called when the integration is passed back (e.g. no ad available).
Parameters
payload
reason
string
Returns
void
onReady()?
optionalonReady: (arg?) =>void
Callback that is called when the integration is ready (e.g. ad is available).
Parameters
arg?
unknown
Returns
void
placement?
optionalplacement:string
An optional placement to detail the integration for analytics.
playlistId?
optionalplaylistId:string
An optional playlist identifier.
Default Value
auto automatically assigns a playlist
width?
optionalwidth:string
Enforce a width for the integration. You can pass in a number (interpreted as pixels) or a CSS value (e.g. 100px, 100%).