AATImpression
/// An object contains impression level information.
@objc public class AATImpression : NSObject {
/// Impression banner size
@objc public let bannerSize: String?
/// Impression ad network
@objc public let adNetwork: AATAdNetwork
/// Impression ad network key
@objc public let networkKey: String
/// Is a direct deal impression
@objc public let isDirectDeal: Bool
/// Impression price information
@objc public let priceInfo: AATPriceInfo?
/// Gets the name of the impression ad network
/// - Returns: A string represents the name of the ad network
@objc public func getAdNetworkName() -> String
}
/// An object contains impression level information.SWIFT_CLASS("_TtC6AATKit13AATImpression")
@interface AATImpression : NSObject
/// Impression banner size
@property (nonatomic, readonly, copy) NSString * _Nullable bannerSize;
/// Impression ad network
@property (nonatomic, readonly) enum AATAdNetwork adNetwork;
/// Impression ad network key
@property (nonatomic, readonly, copy) NSString * _Nonnull networkKey;
/// Is a direct deal impression
@property (nonatomic, readonly) BOOL isDirectDeal;
/// Impression CPM price
@property (nonatomic, readonly, strong) AATPriceInfo * _Nullable priceInfo;
/// Gets the name of the impression ad network
///
/// returns:
/// A string represents the name of the ad network
- (NSString * _Nonnull)getAdNetworkName SWIFT_WARN_UNUSED_RESULT;
@end
Last updated