Menu

ATRewardedVideoAutoAdManager

The management class for Auto Load Rewarded Video ads, providing features such as enabling Auto Load, removing Auto Load, setting local parameters, checking ready status, displaying ads, and scenario statistics.

Copy
@interface ATRewardedVideoAutoAdManager : NSObject

/// Ad loading delegate
@property(nonatomic, weak) id<ATAdLoadingDelegate> delegate;

/// Get the singleton object
+ (instancetype)sharedInstance;

/// Add an array of placement IDs for Auto Load
- (void)addAutoLoadAdPlacementIDArray:(NSArray <NSString *> *)placementIDArray;
/// Remove an array of placement IDs from Auto Load
- (void)removeAutoLoadAdPlacementIDArray:(NSArray<NSString *> *)placementIDArray;

/// Set local configuration information for a specific placement
- (void)setLocalExtra:(NSDictionary *)extra placementID:(NSString *)placementID;
/// Check whether the Rewarded Video ad for the specified placement is ready
- (BOOL)autoLoadRewardedVideoReadyForPlacementID:(NSString *)placementID;
/// Get the valid ad cache information for the specified placement
- (nullable NSArray<NSDictionary *> *)checkValidAdCachesWithPlacementID:(NSString *)placementID;
/// Check the Rewarded Video ad load status for the specified placement
- (nullable ATCheckLoadModel *)checkRewardedVideoLoadStatusForPlacementID:(NSString *)placementID;

/// Display the Auto Load Rewarded Video ad
- (void)showAutoLoadRewardedVideoWithPlacementID:(NSString*)placementID inViewController:(UIViewController*)viewController delegate:(id<ATRewardedVideoDelegate>)delegate;
/// Display the Auto Load Rewarded Video ad in the specified scenario
- (void)showAutoLoadRewardedVideoWithPlacementID:(NSString*)placementID scene:(NSString* _Nullable)scene inViewController:(UIViewController*)viewController delegate:(id<ATRewardedVideoDelegate>)delegate;

/// Enter an ad scenario
- (void)entryAdScenarioWithPlacementID:(NSString *)placementID scenarioID:(NSString *)scenarioID;

@end
Previous
ATNativeSelfRenderView
Next
ATRewardedVideoCustomEvent
Last modified: 2026-07-08Powered by