AATBannerRequest
@objc public class AATBannerRequest : NSObject {
/// Represents the targeting information to be used by the infeed banner placement
@objc public var targetingInformation: [String : [String]]?
/// Represents the content targeting URL to be used by the infeed banner placement
@objc public var contentTargetingUrl: String?
/// An object conforming to ``AATBannerRequestDelegate`` protocol
@objc public weak var delegate: AATBannerRequestDelegate?
/// Create an instance of ``AATBannerRequest``
/// - Parameter delegate: An object conforming to ``AATBannerRequestDelegate`` delegate
@objc public init(delegate: AATBannerRequestDelegate?)
/// Update request sizes
///
/// - Parameter sizes: a set of ``AATBannerSize``
public func setRequestBannerSizes(sizes: Set<AATBannerSize>)
}
@interface AATBannerRequest : NSObject
/// Represents the targeting information to be used by the infeed banner placement
@property (nonatomic, copy) NSDictionary<NSString *, NSArray<NSString *> *> * _Nullable targetingInformation;
/// Represents the content targeting URL to be used by the infeed banner placement
@property (nonatomic, copy) NSString * _Nullable contentTargetingUrl;
/// An object conforming to <code>AATBannerRequestDelegate</code> protocol
@property (nonatomic, weak) id <AATBannerRequestDelegate> _Nullable delegate;
/// Create an instance of <code>AATBannerRequest</code>
/// \param delegate An object conforming to <code>AATBannerRequestDelegate</code> delegate
- (nonnull instancetype)initWithDelegate:(id <AATBannerRequestDelegate> _Nullable)delegate OBJC_DESIGNATED_INITIALIZER;
/// Update request sizes
/// \param sizes a set of <code>AATBannerSize</code>
- (void)setRequestBannerSizes:(NSSet<NSNumber *> * _Nonnull)sizes;
@end
Last updated