Packagecom.adobe.mediacore.content.advertising
Classpublic class Ad
InheritanceAd Inheritance Object

Class holding ad related information.



Public Properties
 PropertyDefined By
  clickURL : String
URL for the Clickthrough.
Ad
  companionAds : Array
List of Companion Ads.
Ad
  contentId : String
[read-only] Content ID for the Ad from the Ad Server
Ad
  duration : Number
[read-only] The duration of the ad (in seconds)
Ad
  id : String
[read-only] Unique ID of the ad
Ad
  time : Number
[read-only] The time at which the ad begins (in seconds)
Ad
  trackingInfo : Object
[read-only] The tracking information associated with this ad
Ad
Public Methods
 MethodDefined By
  
Ad(time:Number, duration:Number, trackingInfo:Object, clickURL:String, companionAds:Array, contentId:String)
Default constructor.
Ad
Property Detail
clickURLproperty
clickURL:String

URL for the Clickthrough. This is the URL for a page that opens when a user clicks the Ad Creative.


Implementation
    public function get clickURL():String
    public function set clickURL(value:String):void
companionAdsproperty 
companionAds:Array

List of Companion Ads. One or more Companion Ads are served by the Ad Creative.


Implementation
    public function get companionAds():Array
    public function set companionAds(value:Array):void
contentIdproperty 
contentId:String  [read-only]

Content ID for the Ad from the Ad Server


Implementation
    public function get contentId():String
durationproperty 
duration:Number  [read-only]

The duration of the ad (in seconds)


Implementation
    public function get duration():Number
idproperty 
id:String  [read-only]

Unique ID of the ad


Implementation
    public function get id():String
timeproperty 
time:Number  [read-only]

The time at which the ad begins (in seconds)


Implementation
    public function get time():Number
trackingInfoproperty 
trackingInfo:Object  [read-only]

The tracking information associated with this ad


Implementation
    public function get trackingInfo():Object
Constructor Detail
Ad()Constructor
public function Ad(time:Number, duration:Number, trackingInfo:Object, clickURL:String, companionAds:Array, contentId:String)

Default constructor.

Parameters
time:Number
 
duration:Number
 
trackingInfo:Object
 
clickURL:String
 
companionAds:Array
 
contentId:String