리워드 비디오 광고
리워드를 제공하는 비디오 광고 입니다. 비디오 광고 종료 시 , event callback 으로 설정하신 리워드 정보를 전달 합니다.
1. 인스턴스 생성
@implements AdPopcornSSPRewardVideoADViewController ()
- (void) viewDidLoad
{
_sspRewardVideoAd = [[AdPopcornSSPRewardVideoAd alloc] initWithKey: @"YOUR_APP_KEY" placementId: @"YOUR_PLACEMENT_Id" viewController:self];
}
class ViewController: UIViewController, APSSPRewardVideoAdDelegate
{
// RewardVideo
var rewardVideo: AdPopcornSSPRewardVideoAd!
}@implementation AdPopcornSSPInterstitialVideoADViewController ()
- (void) viewDidLoad
{
_sspInterstitialVideoAd = [[AdPopcornSSPInterstitialVideoAd alloc] initWithKey: @"YOUR_APP_KEY" placementId: @"YOUR_PLACEMENT_Id" viewController:self];
}
@endclass ViewController: UIViewController, APSSPRewardVideoAdDelegate
{
// RewardVideo
var rewardVideo: AdPopcornSSPRewardVideoAd!
override func viewDidLoad() {
super.viewDidLoad()
rewardVideo = AdPopcornSSPRewardVideoAd.init(key: "YOUR_APP_KEY",
placementId: "YOUR_PLACEMENT_Id", viewController: self)
}
}
1) Placement ID 변경
2. 리워드 비디오 광고 요청
3. 리워드 비디오 광고 노출
4. 델리게이트 설정
delegate
설명
delegate
설명
5. 유저 식별값 입력
6. 리워드 비디오 CS 페이지 호출
마지막 업데이트