Ad
public protocol AdAn Ad is an abstract object that represents a single ad, which is a creative in the VAST specification.
- 
                  
                  An array of CompanionAds associated to the ad, if available within the same Creatives element.DeclarationSwift var companions: [CompanionAd?] { 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. DeclarationSwift var skipOffset: Int? { 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. DeclarationSwift var width: Int? { get }
- 
                  
                  The height of the advertisement, in pixels. DeclarationSwift var height: Int? { get }
- 
                  
                  The kind of the ad integration. Remark For possible values, seeAdIntegrationKindDeclarationSwift var integration: AdIntegrationKind { get }
 Ad Protocol Reference
      Ad Protocol Reference