将 Vpon 与中介集成
本指南面向有兴趣将 Google 移动广告中介与 Vpon 搭配使用的发布商。将逐步介绍如何针对当前应用设置中介适配器并设置其他请求参数。
前提条件
实用入门信息
以下帮助中心文章提供了有关中介的背景信息:
包含广告联盟适配器和 SDK
通过上文提供的链接下载适用于 Vpon 的 SDK 和适配器。
有些 SDK 已包含 Google 移动广告适配器,而有些 SDK 则作为单独的文件提供。请参阅每个适配器随附的集成说明或自述文件。
将参与中介的广告联盟的 SDK 和适配器文件添加到 Unity 项目的相应目录中:
- Android:
Assets/Plugins/Android
- iOS:
Assets/Plugins/iOS
包括网络配置
- Android
- 有些广告联盟需要向您的
AndroidManifest.xml
文件添加额外的配置。您可以对 Assets/Plugins/Android/GoogleMobileAds
目录中的 AndroidManifest.xml
进行这些修改。
- iOS
- 从 Unity 生成 Xcode 后,添加您选择的网络需要的所有框架、编译器标志或链接器标志。
您的应用无需直接调用任何第三方广告联盟代码;Google 移动广告 SDK 会与参与中介的广告联盟的适配器互动,代表您提取第三方广告。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-07-10。
[null,null,["最后更新时间 (UTC):2024-07-10。"],[[["This guide helps publishers integrate Vpon ads into their apps using Google Mobile Ads mediation."],["It provides instructions for setting up the Vpon mediation adapter and necessary request parameters."],["Publishers need an app with the Google Mobile Ads SDK and a Google Ad Manager account with mediation configured."],["Download the Vpon SDK and adapter, include them in your Unity project, and configure any network-specific settings."],["The Google Mobile Ads SDK handles communication with Vpon, eliminating the need for direct calls to third-party ad network code."]]],["Publishers integrate Google Mobile Ads mediation with Vpon by downloading the Vpon SDK and adapter from the provided links. Include these, along with any other ad network SDKs, in the appropriate `Assets/Plugins` directory within your Unity project. For Android, configure `AndroidManifest.xml` with required network settings. For iOS, add necessary frameworks, flags, or links in Xcode. The Google Mobile Ads SDK will then handle third-party ad requests via the mediated network's adapter.\n"]]