Ads API
-
The Ads object helps you configure and control ads within THEOplayer.
See moreDeclaration
Swift
public protocol Ads : EventDispatcherProtocol -
An Ad is an abstract object that represents a single ad, which is a creative in the VAST specification.
See moreDeclaration
Swift
public protocol Ad -
Represents the metadata of a media file with ad content.
See moreRemark
This metadata is retrieved from the VAST file.Declaration
Swift
@objc(THEOplayerMediaFile) public protocol MediaFile -
An ad that is scheduled to appear at a certain point.
See moreDeclaration
Swift
@available(*, deprecated, message: "With the next major version, `ScheduledAd` will de obsoleted.") public protocol ScheduledAd -
An AdBreak is an object that represents a collection of ads that are scheduled at a certain time.
See moreDeclaration
Swift
public protocol AdBreak -
The integration of the ad break.
See moreDeclaration
Swift
@objc(THEOplayerAdIntegration) public enum AdIntegration : Intextension AdIntegration: Codable -
The type of ad Preload. This indicates in which manner the advertisements will be downloaded in advance.
See moreDeclaration
Swift
@available(*, deprecated, message: "This enumeration will be removed with the next major release.") @objc(THEOplayerAdPreloadType) public enum AdPreloadType : Intextension AdPreloadType: Encodable -
The Open Measurement Interface Definition API which can be used to configure the ad viewability measurements conforming to the OMID standards.
See moreDeclaration
Swift
@objc(THEOplayerOmid) public protocol Omid -
Represents a friendly obstruction instance for OMID.
See moreDeclaration
Swift
@objc(THEOplayerOmidFriendlyObstruction) public class OmidFriendlyObstruction : NSObject -
The list of purposes for which an obstruction would be registered as friendly.
See moreDeclaration
Swift
@objc(THEOplayerOmidFriendlyObstructionPurpose) public enum OmidFriendlyObstructionPurpose : Int
Ads API Reference