| Package | se.videoplaza.kit.api |
| Class | public class Ad |
var beforeLinear:Function = function(ads:Array, resume:Function):void {
for each(var adObj:Object in ads) {
//Loop over the ads and gather whatever information you need
//Wrap the passed object in an Ad object:
var ad:Ad = new Ad(adObj);
}
//Let the Adplayer know you're done:
resume();
}
adplayerWrapper.beforeLinearCallback = beforeLinear;
| Property | Defined by | ||
|---|---|---|---|
| campaignId : String [read-only]
Pulse campaign id.
| Ad | ||
| companions : Array [read-only]
An Array of companions.
| Ad | ||
| customCampaignId : String [read-only]
User configurable campaign id configured in Pulse
| Ad | ||
| customGoalId : String [read-only]
User configurable goal id configured in Pulse
| Ad | ||
| customId : String [read-only]
User configurable ad id configured in Pulse
| Ad | ||
| goalId : String [read-only]
Pulse goal id
| Ad | ||
| id : String [read-only]
Pulse ad id
| Ad | ||
| survey : String [read-only]
Survey vendor URI, as defined in IAB Video Ad Serving Template (VAST) 2.0.
| Ad | ||
| type : String [read-only]
Currently supported adTypes:
Ad.INVENTORY Ad.SPOT_STANDARD Ad.SPOT_INTERACTIVE Ad.SPOT_SELECTOR Ad.SPOT_TAKEOVER Ad.OVERLAY_STANDARD Ad.OVERLAY_VIDEO Ad.OVERLAY_IMAGESET Ad.OVERLAY_SPLASH Ad.SKIN_INSKIN Ad.SPLASH_STANDARD Ad.PASSBACK | Ad | ||
| variant : String [read-only]
The ad variant.
| Ad | ||
| Method | Defined by | ||
|---|---|---|---|
|
Ad(adObject:Object)
Constructor.
| Ad | ||
| Constant | Defined by | ||
|---|---|---|---|
| INVENTORY : String = "inventory" [static]
| Ad | ||
| OVERLAY_IMAGESET : String = "overlay_imageset" [static]
| Ad | ||
| OVERLAY_SPLASH : String = "overlay_splash" [static]
| Ad | ||
| OVERLAY_STANDARD : String = "overlay_standard" [static]
| Ad | ||
| OVERLAY_VIDEO : String = "overlay_video" [static]
| Ad | ||
| PASSBACK : String = "passback" [static]
| Ad | ||
| SKIN_INSKIN : String = "skin_inskin" [static]
| Ad | ||
| SPLASH_STANDARD : String = "splash_standard" [static]
| Ad | ||
| SPOT_INTERACTIVE : String = "spot_interactive" [static]
| Ad | ||
| SPOT_SELECTOR : String = "spot_selector" [static]
| Ad | ||
| SPOT_STANDARD : String = "spot_standard" [static]
| Ad | ||
| SPOT_TAKEOVER : String = "spot_takeover" [static]
| Ad | ||
| campaignId | property |
campaignId:String [read-only]Pulse campaign id.
Implementation public function get campaignId():String
| companions | property |
companions:Array [read-only]An Array of companions.
Implementation public function get companions():Array
See also
| customCampaignId | property |
customCampaignId:String [read-only]User configurable campaign id configured in Pulse
Implementation public function get customCampaignId():String
| customGoalId | property |
customGoalId:String [read-only]User configurable goal id configured in Pulse
Implementation public function get customGoalId():String
| customId | property |
customId:String [read-only]User configurable ad id configured in Pulse
Implementation public function get customId():String
| goalId | property |
goalId:String [read-only]Pulse goal id
Implementation public function get goalId():String
| id | property |
id:String [read-only]Pulse ad id
Implementation public function get id():String
| survey | property |
survey:String [read-only]Survey vendor URI, as defined in IAB Video Ad Serving Template (VAST) 2.0.
Implementation public function get survey():String
| type | property |
type:String [read-only]Currently supported adTypes:
Ad.INVENTORY Ad.SPOT_STANDARD Ad.SPOT_INTERACTIVE Ad.SPOT_SELECTOR Ad.SPOT_TAKEOVER Ad.OVERLAY_STANDARD Ad.OVERLAY_VIDEO Ad.OVERLAY_IMAGESET Ad.OVERLAY_SPLASH Ad.SKIN_INSKIN Ad.SPLASH_STANDARD Ad.PASSBACK
public function get type():String
| variant | property |
variant:String [read-only]The ad variant.
Implementation public function get variant():String
See also
| Ad | () | constructor |
public function Ad(adObject:Object)Constructor.
ParametersadObject:Object — Object to wrap.
|
| INVENTORY | constant |
public static const INVENTORY:String = "inventory"
| OVERLAY_IMAGESET | constant |
public static const OVERLAY_IMAGESET:String = "overlay_imageset"
| OVERLAY_SPLASH | constant |
public static const OVERLAY_SPLASH:String = "overlay_splash"
| OVERLAY_STANDARD | constant |
public static const OVERLAY_STANDARD:String = "overlay_standard"
| OVERLAY_VIDEO | constant |
public static const OVERLAY_VIDEO:String = "overlay_video"
| PASSBACK | constant |
public static const PASSBACK:String = "passback"
| SKIN_INSKIN | constant |
public static const SKIN_INSKIN:String = "skin_inskin"
| SPLASH_STANDARD | constant |
public static const SPLASH_STANDARD:String = "splash_standard"
| SPOT_INTERACTIVE | constant |
public static const SPOT_INTERACTIVE:String = "spot_interactive"
| SPOT_SELECTOR | constant |
public static const SPOT_SELECTOR:String = "spot_selector"
| SPOT_STANDARD | constant |
public static const SPOT_STANDARD:String = "spot_standard"
| SPOT_TAKEOVER | constant |
public static const SPOT_TAKEOVER:String = "spot_takeover"