Timeline advertising classes

These classes provide information about ads that occur within a timeline.

Name Description
PTAd Class that defines the Ad abstraction and holds all ad information. It is defined by a unique ID, a duration, and a MediaResourcdee. The MediaResource contains the URL where the actual ad content resides.
      Represents a primary linear asset spliced into the content. It can optionally contain an array of companion assets that must be displayed along with the linear asset.
    
PTAdAsset Class that represents an asset to be displayed.
      Represents an asset to be displayed.
    
      Class representing an ad asset.
    
PTAdBannerView
      Displays a banner asset. Your application must create a new instance of this utility class, set the banner asset, and add it to a view. The impression and click tracking for the banner is internally managed by this class.
    
PTAdBreak Class that gives a unified view on several ads that will be played at some point during playback.
      Represents a continuous sequence of ads spliced into the content.
    
PTAdClick Class that represents a click instance associated with an asset. This instance contains information about the click-through URL and the title that can be used to provide additional information to the user.
      Represents a click instance associated with an asset. This instance contains information about the click-through URL and the title that can be used to provide additional information to the user.
    
PTAdPolicyInfo Protocol that defines properties for AdPolicySelector API calls. These properties provide the context for enforcing each ad behavior.
PTAdPolicySelector An ad policy selector protocol for enforcing ad behaviors. Applications can conform to this protocol by implementing all the required methods or by extending the existing default policy selector class to customize specific behaviors.
PTAdTimeline Class that represents the timeline of breaks within the content.
      PTContentResolver class,
      PTContentResolver protocol
    
Class that handles the ad-resolving part in the Adobe Primetime ad decisioning process.
PTContentResolverDelegate Protocol that describes the methods that the custom content resolver ( PTContentResolver ) should use to communicate to the delegate the status of the resolving of content.
PTPlacementType Class that abstracts a placement information request. Each resolved ad must have one placement information attached to it. The placement information describes where the ad is intended to be placed on the timeline. It contains information such as:
  • Placement position (in ms)
  • Type of the placement (pre-roll, mid-roll, or post-roll)
  • Duration of the main content chunk that is about to be replaced

On this page