1. Set the interstitial ad delegate method
[Yodo1Mas sharedInstance].interstitialAdDelegate = self;
#pragma mark - Interstitial Delegate
- (void)onAdOpened:(Yodo1MasAdEvent *)event {
}
- (void)onAdClosed:(Yodo1MasAdEvent *)event {
}
- (void)onAdError:(Yodo1MasAdEvent *)event error:(Yodo1MasError *)error {
}
2. Check the loading status of interstitials
BOOL isLoaded = [[Yodo1Mas sharedInstance] isInterstitialAdLoaded];
3. Show interstitial ad
[[Yodo1Mas sharedInstance] showInterstitialAd];
Comments
0 comments
Please sign in to leave a comment.