123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //
- // GMAdManager.h
- // Moriss
- //
- // Created by Mgs on 2020/8/22.
- //
- #import <Foundation/Foundation.h>
- #import "FqIronsourceVideo.h"
- #import "FqIronsourceOfferWall.h"
- #import "FqIronsourceInterstitial.h"
- #import "FqIronsourceBanner.h"
- #import "FqAdmobNativeAd.h"
- #import "FqAdmobNativeBanner.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface GMAdManager : NSObject
- @property(nonatomic,strong)FqIronsourceVideo *rewardVideoAd;
- @property(nonatomic,strong)FqIronsourceOfferWall *offerWallVideoAd;
- @property(nonatomic,strong)FqIronsourceInterstitial *interstitialAd;
- @property(nonatomic,strong)FqIronsourceBanner *isBannerAd;
- @property(nonatomic,strong)FqAdmobNativeAd *admobNativeAd;
- @property(nonatomic,strong)FqAdmobNativeBanner *admobBannerAd;
- + (instancetype)sharedInstance;
- /// 打开Banner广告(Google Mob平台)
- -(void)openAd:(NSString *)adName;
- /// 打开Banner广告(ironSource平台)
- -(void)openIronSourceAd:(NSString *)adName;
- /// 打开Native广告
- -(void)openNativeAdTop:(int)top left:(int)left bottom:(int)bottom right:(int)right;
- /// 关闭Banner广告
- -(void)closeAd:(NSString *)adName;
- /// 打开视频激励广告
- -(void)openVideoAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- /// 打开积分墙广告
- -(void)openofferWallAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- /// 打开插屏广告
- -(void)openinterstitialAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- @end
- NS_ASSUME_NONNULL_END
|