カルーセル広告クラスの説明 - glossom-dev/AdfurikunSDK-iOS GitHub Wiki
+ (instancetype)initializeWithAppIDList:(NSArray<NSString *> *)appIdList;
パラメータ | 説明 |
---|---|
appIdList |
広告枠の配列 |
アドフリくんカルーセル広告の初期化を行います。
- (void)loadAndNotify:(id<ADFmyCarouselDelegate>)delegate;
パラメータ | 説明 |
---|---|
delegate |
デリゲート(後述)を実装したクラスのインスタンス |
各アドネットワークの広告ロードを開始します。
- (void)onCarouselLoadFinish:(UIView *)carouselView;
パラメータ | 説明 |
---|---|
carouselView |
カルーセル広告のView |
広告のロード成功時に呼ばれます。引数にカルーセル広告のViewが渡されます。
- (void)onCarouselLoadError:(ADFMovieError *)error;
パラメータ | 説明 |
---|---|
error |
エラー情報(ADFMovieError_NoStock:在庫なし)が返されます。 |
広告のロード失敗時に呼ばれます。
- (void)onCarouselViewImpressionAppID:(NSString *)appID index:(NSInteger)index;
パラメータ | 説明 |
---|---|
appID |
広告枠ID |
index |
カルーセル広告View内の順番 |
広告が表示された時に呼ばれます。
- (void)onCarouselViewClickAppID:(NSString *)appID index:(NSInteger)index;
パラメータ | 説明 |
---|---|
appID |
広告枠ID |
index |
カルーセル広告View内の順番 |
広告をクリックした時に呼ばれます。