IronSource 聚合
您可以通过 IronSource 聚合对接到 Yandex Advertising Network。以下是将 Yandex Advertising Network 添加到 IronSource 聚合的方法:
- 集成 IronSource 聚合。
- 启用 Yandex Mobile Ads SDK 的适配器。
- 在 Yandex 合作伙伴界面 中为所选广告类型创建 AdUnitId。
- 在 IronSource 网页界面 中添加 Yandex Advertising Network。
- 同步两个网络界面中的广告单元设置。
添加 Yandex Mobile Ads SDK 的适配器
要将 Yandex Advertising Network 与 IronSource 聚合集成,请将适配器依赖项添加到项目模块的 build.gradle 文件中:
dependencies {
...
implementation 'com.yandex.ads.adapter:ironsource-mobileads:7.5.0.0'
}
在 IronSource 聚合网页界面中添加 Yandex Advertising Network
对于在 IronSource 聚合中创建的每个广告单元,在 Yandex 合作伙伴界面 (Yandex AdUnitId) 中 创建一个广告单元。
1. 创建 IronSource 广告单元
- 配置 Custom network。该文档可通过此 链接 获取。
- 将 15b8f8fc1 指定为 network key。添加 Custom network 后,Yandex 网络将显示在 SDK networks 部分中。
- 点击 Setup 打开包含新广告单元的对话框。
- 设置广告单元。您可以在 Yandex 合作伙伴界面中获取
AdUnitId
参数值。 - 添加广告单元后,Custom 部分将显示 Yandex 网络的活动 Interstitial Ad Unit。
- 如果要删除广告单元,请将鼠标悬停在其上。删除图标出现在右侧行的末尾。
2. 创建 Yandex 广告单元
有关在 Yandex 合作伙伴界面中创建广告单元的 说明。