YMANativeAdAssets
Objective-C
@interface YMANativeAdAssets : NSObject
Swift
class YMANativeAdAssets : NSObject
Class with native ad assets.
- Properties
- age
- body
- callToAction
- domain
- favicon
- feedbackAvailable
- icon
- image
- media
- price
- rating
- reviewCount
- sponsored
- title
- warning
Age restrictions.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *age;
Swift
var age: String? { get set }
The main ad text.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *body;
Swift
var body: String? { get set }
Call-to-action button label.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *callToAction;
Swift
var callToAction: String? { get set }
The domain.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *domain;
Swift
var domain: String? { get set }
The webpage’s favicon (YMANativeAdImage
).
Declaration
Objective-C
@property (nonatomic, strong, nullable) YMANativeAdImage *favicon;
Swift
var favicon: YMANativeAdImage? { get set }
Notifies whether to show the menu icon (feedbackButton
).
Declaration
Objective-C
@property (nonatomic) BOOL feedbackAvailable;
Swift
var feedbackAvailable: Bool { get set }
The app’s icon (YMANativeAdImage
).
Declaration
Objective-C
@property (nonatomic, strong, nullable) YMANativeAdImage *icon;
Swift
var icon: YMANativeAdImage? { get set }
The main image (YMANativeAdImage
).
Declaration
Objective-C
@property (nonatomic, strong, nullable) YMANativeAdImage *image;
Swift
var image: YMANativeAdImage? { get set }
The media content (YMANativeAdMedia
).
Declaration
Objective-C
@property (nonatomic, strong, nullable) YMANativeAdMedia *media;
Swift
var media: YMANativeAdMedia? { get set }
The price of the advertised app.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *price;
Swift
var price: String? { get set }
The app’s rating.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSNumber *rating;
Swift
var rating: NSNumber? { get set }
The number of app reviews.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *reviewCount;
Swift
var reviewCount: String? { get set }
Data about the advertising network (ad and age labels).
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *sponsored;
Swift
var sponsored: String? { get set }
The ad title.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *title;
Swift
var title: String? { get set }