Skip to content

第三方广告网络配置说明 Third-Party Ad Network Configuration Instructions

1. 第三方广告网络支持列表 List of third-party ad networks supported

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

The ToBid aggregation SDK depends on the aggregated third-party SDK, so before accessing this SDK, please ensure that the project has access to the third-party advertising network SDK participating in the aggregation.

Ad Networkpackages that need to be importedadapterversionReference Documentation
CSJBUAdSDK.xcframework CSJAdSDK.bundlelibWindMillTTAdAdapter.a5.8.1.0https://www.csjplatform.com/supportcenter/5373
GromoreCSJMediation.xcframework CSJAdSDK.bundle BUAdSDK.xcframeworklibWindMillGroMoreAdapter.a5.8.1.0https://www.csjplatform.com/union/media/union/download/detail?id=159&osType=ios&locale=zh-CN&backPath=/union/media/union/download/groMore
TencentlibGDTMobSDK.alibWindMillGDTAdapter.a4.14.63https://developers.adnet.qq.com/doc/ios/union/union_embed
AdMobGoogleMobileAds.xcframework GoogleAppMeasurement.xcframework GoogleUtilities.xcframework nanopb.xcframework PromisesObjC.xcframework UserMessagingPlatform.xcframeworklibWindMillAdmobAdapter.a10.14.0https://developers.google.com/admob/ios/quick-start
UnityAdsUnityAds.frameworklibWindMillUnityAdsAdapter.a4.9.2https://unityads.unity3d.com/help/resources/dashboard-guide
AppLovinAppLovinSDK.xcframework AppLovinSDKResources.bundlelibWindMillAppLovinAdapter.a12.1.0https://dash.applovin.com/documentation/mediation/ios/getting-started/integration
ironSourceIronSource.frameworklibWindMillIronSourceAdapter.a7.5.1https://developers.is.com/ironsource-mobile/ios/ios-sdk/
VungleVungleSDK.xcframeworklibWindMillVungleAdapter.a7.2.0https://support.vungle.com/hc/en-us/articles/360002925791
KuaishouKSAdSDK.xcframeworklibWindMillKSAdapter.a3.3.61https://static.yximgs.com/udata/pkg/KSAdSDKTarGz/doc/ksadsdk-iOS-readme-ad-3.3.23.pdf
MintegralMTGSDK.xcframework MTGSDKBanner.xcframework MTGSDKBidding.xcframework MTGSDKCNAddition.xcframework MTGSDKInterstitial.xcframework MTGSDKInterstitialVideo.xcframework MTGSDKNativeAdvanced.xcframework MTGSDKNewInterstitial.xcframework MTGSDKReward.xcframework MTGSDKSplash.xcframeworklibWindMillMTGAdapter.a7.4.4https://dev.mintegral.com/doc/index.html?file=sdk-m_sdk-ios&lang=cn
BaiduBaiduMobAdSDK.framework baidumobadsdk.bundlelibWindMillBaiduAdAdapter.a5.332https://union.baidu.com/miniappblog/sdk/iOSSDK.html
AdScopeBeiZiFoundation.framework BeiZiSDK.frameworklibWindMillBeiZiAdapter.a4.90.3.9
InmobiInMobiSDK.xcframeworklibWindMillInmobiAdapte.a10.5.8https://support.inmobi.com/monetize/sdk-documentation/ios-guidelines/preparing-for-ios-14
AdMateMSAdSDK.bundle MSAdSDK.frameworklibWindMillMSAdAdapter.a2.2.6.0https://admate.yuque.com/se0re5/behodv

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

Note: You need to import the third-party SDK and the corresponding adapter at the same time

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

To manually import the framework, you need to add the corresponding system dependency library. For details, please refer to the documentation of each channel. For the document address, see the above list.

2. cocoapod引入 Introduction of cocoapod

在podfile文件中添加:

Add in podfile:

objective-c
#核心库,必须添加    must be added core
pod 'ToBid-iOS'
  
# 各平台的Adapter和sdk根据需要自行选择导入,参考下方PodCode
# Adapter and sdk of each platform can be imported according to their own needs, refer to the PodCode below
NetworkpodCode
CSJpod 'ToBid-iOS/TouTiaoAdapter'
Gromorepod 'ToBid-iOS/CSJMediationAdapter'
AdMobpod 'ToBid-iOS/AdmobAdapter'
AppLovinpod 'ToBid-iOS/AppLovinAdapter'
Mintegralpod 'ToBid-iOS/MintegralAdapter'
Tencentpod 'ToBid-iOS/GDTAdapter'
ironSourcepod 'ToBid-iOS/IronSourceAdapter'
Vunglepod 'ToBid-iOS/VungleAdapter'
UnityAdspod 'ToBid-iOS/UnityAdsAdapter'
Kuaishoupod 'ToBid-iOS/KSAdapter'
Baidupod 'ToBid-iOS/BaiduAdapter'
AdScopepod 'ToBid-iOS/AdScopeAdapter'
AdMatepod 'ToBid-iOS/MSAdAdapter'

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

When an adapter is imported, the SDK of the corresponding channel will be automatically downloaded through the pod. Since there may be version compatibility issues between the Adapter and the third-party advertising SDK, we recommend relying on the third-party advertising SDK through the pod Adapter to ensure that there will be no version compatibility issues.

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

If you want to import a specific version of the SDK, you need to add the version number after the pod statement (take version 1.5.0 as an example), for example: pod 'ToBid-iOS', '1.5.0'