YieldloveAdIntegration 9.6.0

YieldloveAdIntegration 9.6.0

测试已测试
语言语言 SwiftSwift
许可证 自定义
发布最新发布2024年6月
SPM支持SPM

Pascal SaleschGiBoJiri LetakPascal SaleschOndrej KormanikMarcel KlínekMartin BednarHyungon KimAdscale Dev Team维护。



 
依赖
PromiseKit~> 8
ConsentViewController= 7.6.8
CriteoPublisherSdk~> 4.4.0
Google-Mobile-Ads-SDK>= 0
PrebidMobile= 2.2.2
YieldloveExternalConfiguration= 0.20.0
 

  • Pascal Salesch

YieldloveAdIntegration

该库使用API密钥渗透DFP广告标签,以从您的广告中获取最大利润

安装

将以下pod规范添加到您的App podfile中。

pod 'YieldloveAdIntegration', :git => '[email protected]:iseriousnoob/YieldloveAdIntegration.git', :branch => '0.1.0'

然后在您的Apps文件夹中运行“pod install”。

现在将Yieldlove导入到您的ViewControllers中。

import YieldloveAdIntegration

加载插页广告(全屏广告)

Yieldlove.instance.interstitialAd(AdUnit: "example_ios_interstitial_1", UIViewController: self)

加载横幅广告

Yieldlove.instance.bannerAd(AdUnit: "example_ios_320x50_1", UIViewController: self, UIView: bannerAd!)

宽度和高度可以设置,否则使用视图的大小

加载视频广告(这些广告使用AdMob,不是DFP;全屏)

Yieldlove.instance.videoAd(AdUnit: "example_ios_interstitial_1", UIViewController: self)