Skip to content

第三方广告网络配置说明

1. 第三方广告网络支持列表

ToBid 聚合SDK依赖于被聚合的第三方SDK,故在接入本SDK之前请确保项目已经接入了参与聚合的第三方广告网络SDK。

广告网络需要导入的包适配器版本号参考文档
穿山甲BUAdSDK.xcframework CSJAdSDK.bundlelibWindMillTTAdAdapter.a6.6.1.3https://www.csjplatform.com/supportcenter/5373
GromoreCSJMediation.xcframework CSJAdSDK.bundle BUAdSDK.xcframeworklibWindMillGroMoreAdapter.a6.6.1.3https://www.csjplatform.com/union/media/union/download/detail?id=159&osType=ios&locale=zh-CN&backPath=/union/media/union/download/groMore
腾讯广告libGDTMobSDK.alibWindMillGDTAdapter.a4.15.10https://developers.adnet.qq.com/doc/ios/union/union_embed
AdMobGoogleMobileAds.xcframework GoogleAppMeasurement.xcframework GoogleUtilities.xcframework nanopb.xcframework PromisesObjC.xcframework UserMessagingPlatform.xcframeworklibWindMillAdmobAdapter.a11.10.0https://developers.google.com/admob/ios/quick-start
UnityAdsUnityAds.frameworklibWindMillUnityAdsAdapter.a4.12.2https://unityads.unity3d.com/help/resources/dashboard-guide
AppLovinAppLovinSDK.xcframework AppLovinSDKResources.bundlelibWindMillAppLovinAdapter.a13.0.0https://dash.applovin.com/documentation/mediation/ios/getting-started/integration
ironSourceIronSource.frameworklibWindMillIronSourceAdapter.a8.2.0.0https://developers.is.com/ironsource-mobile/ios/ios-sdk/
VungleVungleSDK.xcframeworklibWindMillVungleAdapter.a7.4.0https://support.vungle.com/hc/en-us/articles/360002925791
快手KSAdSDK.xcframeworklibWindMillKSAdapter.a3.3.72https://u.kuaishou.com/access/sdk-docs?client=ANDROID&docType=readme
MintegralBidNativeAd.xcframework BidRewardVideoAd.xcframework BidNativeAdvancedAd.xcframework BidBannerAd.xcframework BidSplashAd.xcframework NewInterstitialAd.xcframework BidNewInterstitialAd.xcframeworklibWindMillMTGAdapter.a7.7.3https://dev.mintegral.com/doc/index.html?file=sdk-m_sdk-ios&lang=cn
百度联盟BaiduMobAdSDK.framework baidumobadsdk.bundlelibWindMillBaiduAdAdapter.a5.373https://union.baidu.com/miniappblog/sdk/iOSSDK.html
游可赢KlevinAdSDK.frameworklibWindMillKlevinAdAdapter.a2.11.0.215
AdScopeBeiZiFoundation.framework BeiZiSDK.frameworklibWindMillBeiZiAdapter.a4.90.4.36
InmobiInMobiSDK.xcframeworklibWindMillInmobiAdapte.a10.5.8https://support.inmobi.com/monetize/sdk-documentation/ios-guidelines/preparing-for-ios-14
美数MSAdSDK.bundle MSAdSDK.framework MSAdMotion.xcframeworklibWindMillMSAdAdapter.a2.5.0.0https://admate.yuque.com/se0re5/behodv
趣盟QuMengAdSDK.xcframeworklibWindMillQuMengAdapter.a1.3.0https://docs.qttunion.com/ios_sdk/qumeng.html
京媒QuMengAdSDK.xcframeworklibWindMillJADYunAdapter.a2.6.8https://help-sdk-doc.jd.com/ansdkDoc/access_docs/iOS/SDK集成/iOSSDK集成说明.html

注:需要同时导入三方SDK和对应的适配器

手动导入framework,需添加对应的系统依赖库,具体请参考各渠道的文档,文档地址见上述列表

2. cocoapod引入

在podfile文件中添加:

objective-c
#核心库,必须添加
pod 'ToBid-iOS'
  
# 各平台的Adapter和sdk根据需要自行选择导入,参考下方PodCode
广告网络podCode
穿山甲pod 'ToBid-iOS/TouTiaoAdapter'
Gromorepod 'ToBid-iOS/CSJMediationAdapter'
AdMobpod 'ToBid-iOS/AdmobAdapter'
AppLovinpod 'ToBid-iOS/AppLovinAdapter'
Mintegralpod 'ToBid-iOS/MintegralAdapter'
腾讯广告pod 'ToBid-iOS/GDTAdapter'
ironSourcepod 'ToBid-iOS/IronSourceAdapter'
Vunglepod 'ToBid-iOS/VungleAdapter'
UnityAdspod 'ToBid-iOS/UnityAdsAdapter'
快手pod 'ToBid-iOS/KSAdapter'
百度pod 'ToBid-iOS/BaiduAdapter'
游可赢pod 'ToBid-iOS/KlevinAdapter'
AdScopepod 'ToBid-iOS/AdScopeAdapter'
美数pod 'ToBid-iOS/MSAdAdapter'
趣盟pod 'ToBid-iOS/QuMengAdapter'
京媒pod 'JADYunAdapter'
自定义竞价回传插件pod 'ToBid-iOS/BidResultAdapter'

当导入某个适配器时,会自动通过pod下载对应渠道的SDK,由于Adapter和第三方广告SDK会存在版本兼容问题,所以我们建议通过pod Adapter的方式去依赖第三方广告SDK来确保不会有任何的版本兼容问题。

如果您想要引入特定版本的SDK则需要在pod 语句后面添加版本号(以1.5.0版本为例)、例如: pod 'ToBid-iOS', '1.5.0'