AI-generated Key Takeaways
- 
          IMAAd is a data object representing a single ad. 
- 
          It provides properties like ad ID, title, description, duration, and dimensions from the VAST response. 
- 
          The object includes information about companion ads, UI elements, and ad podding properties. 
- 
          It also indicates whether the ad is linear or non-linear and if it is skippable, along with the skip time offset. 
- 
          Properties related to trafficking parameters, creative details, universal ad IDs, advertiser name, survey URL, deal ID, and wrapper ad information are available. 
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 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 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;