-
Notifications
You must be signed in to change notification settings - Fork 1
iOS Interstitial Delegates
Mert Celik edited this page Sep 24, 2018
·
1 revision
If you want to get feedback on the status of the interstitial ads, implement the AMInterstitialDelegate in your class.
In order to get status updates, you should set your class as a delegate of AMInterstitial.
[AMInterstitial setDelegate:YOUR_CLASS];
To access and implement AMInterstitialDelegate methods, you must adopt the delegate.
@interface YOUR_CLASS ()<AMInterstitialDelegate>
...
@end
- (void)AMInterstitialDidLoad:(AMInterstitial *)interstitial;
- (void)AMInterstitialDidFailToLoad:(AMInterstitial *)interstitial withError:(NSError *)error;
- (void)AMInterstitialDidShow:(AMInterstitial *)interstitial;
- (void)AMInterstitialDidClick:(AMInterstitial *)interstitial;
- (void)AMInterstitialDidClose:(AMInterstitial *)interstitial;