AATImpression
@objc public class AATImpression : NSObject {
/// Impression banner size
@objc public let bannerSize: String?
/// Impression ad network
@objc public let adNetwork: AATAdNetwork
/// Impression network key
@objc public let networkKey: String
/// Is a direct deal impression
@objc public let isDirectDeal: Bool
/// Impression mediation type
@objc public let mediationType: AATMediationType
/// Impression CPM price
@objc public let price: Double
/// Impression currency code
@objc public let currencyCode: String?
/// Impression precision
@objc public let precision: AATImpressionPricePrecisionType
/// Gets the name of the impression ad network
///
/// - Returns: A string represents the name of the ad network
@objc public func getAdNetworkName() -> String
/// Gets the mediation type
///
/// - Returns: A string represents the mediation type
@objc public func getMediationTypeName() -> String
}
@interface AATImpression : NSObject
/// Impression banner size
@property (nonatomic, readonly, copy) NSString * _Nullable bannerSize;
/// Impression ad network
@property (nonatomic, readonly) enum AATAdNetwork adNetwork;
/// Impression network key
@property (nonatomic, readonly, copy) NSString * _Nonnull networkKey;
/// Is a direct deal impression
@property (nonatomic, readonly) BOOL isDirectDeal;
/// Impression mediation type
@property (nonatomic, readonly) enum AATMediationType mediationType;
/// Impression price
@property (nonatomic, readonly) double price;
/// Gets the name of the impression ad network
///
/// returns:
/// A string represents the name of the ad network
- (NSString * _Nonnull)getAdNetworkName;
/// Gets the mediation type
///
/// returns:
/// A string represents the mediation type
- (NSString * _Nonnull)getMediationTypeName;
@end
Last updated