class CompanionAd
package com.turner.top.sdk.common.ads.utils
Helper class for creating and rendering companion ads and firing beacons
Constructor
Methods
render (element:NativeViewElement):Void
Renders the companion to the DOM
Parameters:
element | The DOM element to attach the companion to |
|---|
Static methods
staticcreate (data:Dynamic, ?options:Dynamic):CompanionAd
Create a companion ad
Parameters:
data | Gives specifics about the companion. Available properties are:
|
|---|---|
options | optional configuration data. Available values are:
|
Returns:
the created companion