测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可证 | 自定义 |
发布最新发布 | 2024年6月 |
SPM支持SPM | ✗ |
由Pascal Salesch,GiBo,Jiri Letak,Pascal Salesch,Ondrej Kormanik,Marcel Klínek,Martin Bednar,Hyungon Kim,Adscale 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 |
该库使用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!)
宽度和高度可以设置,否则使用视图的大小
Yieldlove.instance.videoAd(AdUnit: "example_ios_interstitial_1", UIViewController: self)