YMAMutableNativeAdRequestConfiguration
Objective-C
@interface YMAMutableNativeAdRequestConfiguration
: YMANativeAdRequestConfiguration
Swift
class YMAMutableNativeAdRequestConfiguration : YMANativeAdRequestConfiguration
An editable version of the YMANativeAdRequestConfiguration
class. Sets native ad loader configuration parameters.
Age restrictions.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *age;
Swift
var age: NSNumber? { get set }
The search query that the user entered in the app.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *contextQuery;
Swift
var contextQuery: String? { get set }
An array of tags. Matches the context in which the ad will be displayed.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSArray<NSString *> *contextTags;
Swift
var contextTags: [String]? { get set }
The gender of the user. See the list of values in Constants.html.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *gender;
Swift
var gender: String? { get set }
User location.
Declaration
Objective-C
@property (nonatomic, copy, nullable) CLLocation *location;
Swift
@NSCopying var location: CLLocation? { get set }
Preferred ad theme.
Declaration
Objective-C
@property (nonatomic) YMAAdTheme adTheme;
Swift
var adTheme: YMAAdTheme { get set }
Bidding data for loading ads from mediation.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *biddingData;
Swift
var biddingData: String? { get set }
A set of arbitrary input parameters.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *parameters;
Swift
var parameters: [String : String]? { get set }