将 Vpon 与中介集成
本指南面向有兴趣将 Google 移动广告中介与 Vpon 搭配使用的发布商。它逐步介绍了如何为当前应用设置中介适配器,以及如何设置其他请求参数。
前提条件
实用入门信息
以下帮助中心文章提供了有关中介的背景信息:
包含广告联盟适配器和 SDK
通过上面提供的链接下载适用于 Vpon 的 SDK 和适配器。
有些 SDK 已包含 Google 移动广告适配器,而有些 SDK 则以单独文件的形式提供。请参阅每个适配器随附的集成说明或自述文件。
将参与中介的广告联盟的 SDK 和适配器文件作为依赖项添加到 Android 上的应用级 build.gradle
文件和 iOS 上的 Podfile
中。
包括网络配置
- Android
- 某些广告联盟要求将额外的配置添加到您的
AndroidManifest.xml
文件中。您可以对 android/app/src/main
目录内的 AndroidManifest.xml
进行这些修改。
- iOS
- 在 Xcode 中打开项目的
ios/Runner.xcworkspace
,然后添加您所选网络所需的任何框架、编译器标志或链接器标志。
您的应用无需直接调用任何第三方广告联盟代码;Google 移动广告 SDK 会与参与中介的广告联盟的适配器互动,以便代表您提取第三方广告。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-01。
[null,null,["最后更新时间 (UTC):2024-07-01。"],[[["This guide helps publishers integrate Vpon ads into their apps using Google Mobile Ads mediation."],["You need an app with the Google Mobile Ads SDK and a Google Ad Manager account with mediation configured."],["Download and include the Vpon SDK and adapter in your app's dependencies."],["Configure any necessary network settings in your AndroidManifest.xml or iOS project settings."],["The Google Mobile Ads SDK handles communication with the Vpon adapter to fetch ads."]]],["Publishers integrating Google Mobile Ads mediation with Vpon should download the Vpon SDK and adapter. Add these, along with any other mediated networks' SDKs and adapters, as dependencies in the app's build files ( `build.gradle` for Android, `Podfile` for iOS). Configure necessary settings in `AndroidManifest.xml` (Android) or Xcode (`ios/Runner.xcworkspace`) based on network requirements. The Google Mobile Ads SDK handles interaction with network adapters. Vpon resources, such as documentation, are provided.\n"]]