Menu

ATInterstitialAutoAdManager

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

Copy
@interface ATInterstitialAutoAdManager : 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 * _Nullable)extra placementID:(NSString *)placementID;
/// Check whether the Interstitial ad for the specified placement is ready
- (BOOL)autoLoadInterstitialReadyForPlacementID:(NSString *)placementID;
/// Get the valid ad cache information for the specified placement
- (NSArray<NSDictionary *> *)checkValidAdCachesWithPlacementID:(NSString *)placementID;
/// Check the Interstitial ad load status for the specified placement
- (ATCheckLoadModel *)checkInterstitialLoadStatusForPlacementID:(NSString *)placementID;

/// Display the Auto Load Interstitial ad
- (void)showAutoLoadInterstitialWithPlacementID:(NSString*)placementID inViewController:(UIViewController*)viewController delegate:(id<ATInterstitialDelegate>)delegate;
/// Display the Auto Load Interstitial ad in the specified scenario
- (void)showAutoLoadInterstitialWithPlacementID:(NSString*)placementID scene:(NSString* _Nullable)scene inViewController:(UIViewController*)viewController delegate:(id<ATInterstitialDelegate>)delegate;

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

@end
Previous
ATBannerCustomEvent
Next
ATInterstitialCustomEvent
Last modified: 2026-07-08Powered by