Interstitial Ad
Add Files for Interstitial Ad Integration
Request Interstitial Ad
// MyViewController.m
#import "CESplash2AD.h"
@interface MyViewController() <CESplash2ADRequestDelegate>@interface MyViewController() <CESplash2ADRequestDelegate>
@property (nonatomic, strong) CECSplash2AD *splashAd;
@end
- (void) viewDidLoad()
{
CERequestInfo *info = [CERequestInfo new];
info.placement = @"PUT_YOUR_PLACEMENT_STRING_HERE·";
info.timeout = 5;
self.splashAD = [[CESplash2AD alloc] initWithVideoViewProfile:CEVideoViewProfileSplash2DefaultProfile];
[self.splashAD loadAdAsyncWithInfo:info reqDelegate:self];
}Add CESplashADEventDelegate to get the ad event callback.
CESplashADEventDelegate to get the ad event callback.Please refer to CESplash2AD for more information in detail.
Last updated