123456789101112131415161718192021222324252627282930313233343536373839 |
- //
- // YLHAdManager.h
- // XenonSDK
- //
- // Created by fq on 2021/4/28.
- // Copyright © 2021 SAGESSE. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface YLHAdManager : NSObject
- + (instancetype)sharedInstance;
- //1.打开开屏广告
- -(void)openSplashAd:(NSString *)adName supportZoomoutView:(BOOL)flag callback:(void (^)(BOOL))callback;
- //2.打开模板2-插屏半屏广告
- -(void)openExpressInterstitialAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- //3.打开模板2-插屏全屏广告
- -(void)openFullScreenVideoAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- //4. 打开视频激励广告
- -(void)openExpressRewardedVideoAd:(NSString *)adName callback:(void (^)(BOOL,BOOL))callback;
- //5. 打开横幅广告
- -(void)openExpressBannerVideoAd:(NSString *)adName callback:(void (^)(BOOL))callback;
- //6. 打开原生广告
- -(void)openExpressNativeAdWithPlacementId:(NSString *)placementId AdName:(NSString *)adName Frame:(CGRect)rect callback:(void (^)(BOOL))callback;
- @end
- NS_ASSUME_NONNULL_END
|