YMANativeBulkAdLoader
Objective-C
@interface YMANativeBulkAdLoader : NSObject
Swift
class YMANativeBulkAdLoader : NSObject
This class is responsible for loading native ads.
An object that implements the YMANativeBulkAdLoaderDelegate
protocol that tracks the progress of native ad loading.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<YMANativeBulkAdLoaderDelegate> delegate;
Loads an ad with the specified targeting data.
Declaration
Objective-C
- (void)loadAdsWithRequestConfiguration:
(nonnull YMANativeAdRequestConfiguration *)requestConfiguration
adsCount:(NSUInteger)adsCount;
Swift
func loadAds(with requestConfiguration: YMANativeAdRequestConfiguration, adsCount: UInt)
Parameters
requestConfiguration | Data for targeting. |
adsCount | The number of requested ads. |
requestConfiguration | Data for targeting. |
adsCount | The number of requested ads. |