Ad_Objc
@objc(THEOplayerAd)
public protocol Ad_ObjcAn Ad is an abstract object that represents a single ad, which is a creative in the VAST specification.
- 
                  
                  A reference to the AdBreakof which the ad is a part of.DeclarationSwift @objc(adBreak) var adBreak_Objc: AdBreak_Objc { get }
- 
                  
                  An array of CompanionAds associated to the ad, if available within the same Creatives element.DeclarationSwift @objc(companions) var companions_Objc: [CompanionAd_Objc] { get }
- 
                  
                  Either ‘linear’ or ‘nonlinear’, depending on the concrete implementer. DeclarationSwift var type: String { get }
- 
                  
                  The identifier of the creative, provided in the VAST-file. DeclarationSwift var id: String? { get }
- 
                  
                  When the Ad can be skipped, in seconds. Remark - Supports integer format.
 DeclarationSwift @objc(skipOffset) var skipOffset_Objc: NSNumber? { get }
- 
                  
                  The URI of the the ad content. Remark - Only available when the ad is skippable.
- Only available for LinearAd.
 DeclarationSwift var resourceURI: String? { get }
- 
                  
                  The width of the advertisement, in pixels. Remark - Supports integer format.
 DeclarationSwift @objc(width) var width_Objc: NSNumber? { get }
- 
                  
                  The height of the advertisement, in pixels. Remark - Supports integer format.
 DeclarationSwift @objc(height) var height_Objc: NSNumber? { get }
- 
                  
                  The kind of the ad integration. Remark For possible values, seeAdIntegrationKindDeclarationSwift var integration: AdIntegrationKind { get }
- 
                  
                  The duration of the ad, in seconds. Remark Only available forLinearAd.DeclarationSwift @objc(duration) var duration_Objc: NSNumber? { get }
- 
                  
                  The url that redirects to the website of the advertiser. DeclarationSwift var clickThrough: String? { get }
- 
                  
                  The type of custom ad integration. Remark Remark: - Only available if integrationequalsAdIntegrationKind.custom.
- Custom ad integrations are registered using Ads.registerServerSideIntegration.
 DeclarationSwift var customIntegration: String? { get }Return ValueThe custom ad integration type. 
- Only available if 
