AppsFlyer
CloudX Flutter SDK 的 AppsFlyer 广告收入连接器。无需发布商编写胶水代码即可将 CloudX 广告收入转发至 AppsFlyer。
AppsFlyer 连接器会将 CloudX 广告收入转发至您的移动归因合作伙伴(MMP),使收入与您在 AppsFlyer 中的其他数据一并呈现。添加连接器依赖后,收入上报会自动生效;无需调用 Dart API。
连接器不会初始化 AppsFlyer。您的应用必须已经使用自己的 dev key 集成并初始化 AppsFlyer SDK。
安装
在 ios/Podfile 和 android/app/build.gradle.kts 中添加连接器:
target 'Runner' do
# ... existing Flutter config ...
pod 'CloudXAppsFlyerConnector', '~> 6.15.0.0'
enddependencies {
implementation("io.cloudx:connector-appsflyer:6.15.0.0")
}然后安装 iOS pod:
cd ios && pod install要求
- CloudX Flutter SDK
3.9.0或更高版本。 - 您的应用已经集成并初始化 AppsFlyer。
- Android 应用包含
com.appsflyer:af-android-sdk6.15.0或更高版本,但低于7.0.0。 - iOS 应用包含
AppsFlyerFramework6.15.0或更高版本。
上报内容
连接器会为每次符合上报条件的 CloudX 竞得展示上报一次,覆盖 CloudX 广告格式。对于竞价方 SDK 已向您的 MMP 上报收入的展示,连接器会跳过上报,以免重复计算收入。每个事件包含竞得广告网络、该次展示的 CloudX 收入估算(USD),以及 CloudX 广告单元、格式和广告位。