将 LG U+AD 与中介集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本指南适用于有兴趣将 Google 移动广告 SDK 中介与 LG U+AD 搭配使用的发布商。其中介绍了如何为当前应用设置中介适配器,以及如何设置其他请求参数。
前提条件
实用的入门信息
以下帮助中心文章提供了有关中介的背景信息:
添加广告资源网适配器和 SDK
通过提供的链接下载适用于 LG U+AD 的 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):2025-09-26。
[null,null,["最后更新时间 (UTC):2025-09-26。"],[],["Publishers can use Google Mobile Ads mediation with LG U+AD by downloading the provided SDK and adapter. Integrate these, along with any required network configurations, into your app's Android (`Assets/Plugins/Android`) or iOS (`Assets/Plugins/iOS`) directories. For Android, modify `AndroidManifest.xml` as needed; for iOS, add frameworks, compiler flags, or linker flags post-Xcode generation. The Google Mobile Ads SDK handles interactions with the mediated network's adapter, eliminating the need for direct third-party ad network code calls.\n"],null,[]]