AI-generated Key Takeaways
- 
          IMAAd is a data object that represents a single ad. 
- 
          It includes properties such as ad ID, title, description, duration, and information about whether it is linear or skippable. 
- 
          The object also provides details about companion ads, UI elements, and creative dimensions and bitrate from the VAST response. 
- 
          Information related to ad podding, trafficking parameters, and Universal Ad IDs is also available. 
- 
          Wrapper ad details, including IDs, creative IDs, and ad systems, are provided. 
IMAAd
@interface IMAAd : NSObjectData object representing a single ad.
- 
                  
                  The ad ID as specified in the VAST response. DeclarationSwift var adId: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull adId;
- 
                  
                  The ad title from the VAST response. DeclarationSwift var adTitle: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull adTitle;
- 
                  
                  The ad description. DeclarationSwift var adDescription: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull adDescription;
- 
                  
                  The source ad server information included in the ad response. DeclarationSwift var adSystem: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull adSystem;
- 
                  
                  The companion ads specified in the VAST response when using DAI. Empty for client-side ads. DeclarationSwift var companionAds: [IMACompanionAd] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<IMACompanionAd *> *_Nonnull companionAds;
- 
                  
                  Content type of the currently selected creative. For linear creatives returns the content type of the currently selected media file. Returns empty string if no creative or media file is selected on this ad. DeclarationSwift var contentType: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull contentType;
- 
                  
                  The duration of the ad from the VAST response. DeclarationSwift var duration: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval duration;
- 
                  
                  The UI elements that will be displayed during ad playback. DeclarationSwift var uiElements: [NSNumber] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<NSNumber *> *_Nonnull uiElements;
- 
                  
                  The width of the ad asset. For non-linear ads, this is the actual width of the ad representation. For linear ads, since they scale seamlessly, we currently return 0 for width. DeclarationSwift var width: Int { get }Objective-C @property (nonatomic, readonly) NSInteger width;
- 
                  
                  The height of the ad asset. For non-linear ads, this is the actual height of the ad representation. For linear ads, since they scale seamlessly, we currently return 0 for height. DeclarationSwift var height: Int { get }Objective-C @property (nonatomic, readonly) NSInteger height;
- 
                  
                  The width of the selected creative as specified in the VAST response. DeclarationSwift var vastMediaWidth: Int { get }Objective-C @property (nonatomic, readonly) NSInteger VASTMediaWidth;
- 
                  
                  The height of the selected creative as specified in the VAST response. DeclarationSwift var vastMediaHeight: Int { get }Objective-C @property (nonatomic, readonly) NSInteger VASTMediaHeight;
- 
                  
                  The bitrate of the selected creative as specified in the VAST response. DeclarationSwift var vastMediaBitrate: Int { get }Objective-C @property (nonatomic, readonly) NSInteger VASTMediaBitrate;
- 
                  
                  Specifies whether the ad is linear or non-linear. DeclarationSwift var isLinear: Bool { get }Objective-C @property (nonatomic, readonly, getter=isLinear) BOOL linear;
- 
                  
                  Specifies whether the ad is skippable. DeclarationSwift var isSkippable: Bool { get }Objective-C @property (nonatomic, readonly, getter=isSkippable) BOOL skippable;
- 
                  
                  The number of seconds of playback before the ad becomes skippable. -1 is returned for non skippable ads or if this is unavailable. DeclarationSwift var skipTimeOffset: TimeInterval { get }Objective-C @property (nonatomic, readonly) NSTimeInterval skipTimeOffset;
- 
                  
                  Set of ad podding properties. DeclarationSwift var adPodInfo: IMAAdPodInfo { get }Objective-C @property (nonatomic, readonly) IMAAdPodInfo *_Nonnull adPodInfo;
- 
                  
                  String representing custom trafficking parameters from the VAST response. DeclarationSwift var traffickingParameters: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull traffickingParameters;
- 
                  
                  Returns the ID of the selected creative for the ad. DeclarationSwift var creativeID: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull creativeID;
- 
                  
                  Returns the ISCI (Industry Standard Commercial Identifier) code for an ad. This is the Ad-ID of the selected creative in the VAST response. DeclarationSwift var creativeAdID: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull creativeAdID;
- 
                  
                  The list of all UniversalAdIds of the selected creative for this ad. Returns an empty array if no universal ad IDs are found. DeclarationSwift var universalAdIDs: [IMAUniversalAdID] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<IMAUniversalAdID *> *_Nonnull universalAdIDs;
- 
                  
                  Deprecated Use universalAdIDs instead. The UniversalAdId of the selected creative for the ad. Returns the id value or “unknown” if unavailable. DeclarationSwift var universalAdIdValue: String { get }Objective-C @property (nonatomic, copy, readonly) DEPRECATED_MSG_ATTRIBUTE("Use universalAdIDs instead.") NSString *universalAdIdValue;
- 
                  
                  Deprecated Use universalAdIDs instead. The registry associated with cataloging the UniversalAdId of the selected creative for the ad. Returns the registry value, or “unknown” if unavailable. DeclarationSwift var universalAdIdRegistry: String { get }Objective-C @property (nonatomic, copy, readonly) DEPRECATED_MSG_ATTRIBUTE("Use universalAdIDs instead.") NSString *universalAdIdRegistry;
- 
                  
                  The advertiser name as defined by the serving party. DeclarationSwift var advertiserName: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull advertiserName;
- 
                  
                  Returns the URL associated with the survey for the given ad. DeclarationSwift var surveyURL: String? { get }Objective-C @property (nonatomic, copy, readonly, nullable) NSString *surveyURL;
- 
                  
                  Returns the first deal ID present in the wrapper chain for the current ad, starting from the top. DeclarationSwift var dealID: String { get }Objective-C @property (nonatomic, copy, readonly) NSString *_Nonnull dealID;
- 
                  
                  The IDs of the ads, starting with the first wrapper ad. DeclarationSwift var wrapperAdIDs: [String] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<NSString *> *_Nonnull wrapperAdIDs;
- 
                  
                  The IDs of the ads’ creatives, starting with the first wrapper ad. DeclarationSwift var wrapperCreativeIDs: [String] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<NSString *> *_Nonnull wrapperCreativeIDs;
- 
                  
                  Ad systems used for wrapper ads. The ad systems returned begin with the first wrapper ad and continue to each wrapper ad recursively. DeclarationSwift var wrapperSystems: [String] { get }Objective-C @property (nonatomic, copy, readonly) NSArray<NSString *> *_Nonnull wrapperSystems;