将 LG U+AD 与中介功能集成
本指南面向有兴趣将 Google 移动广告中介与 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-02-04。
[null,null,["最后更新时间 (UTC):2025-02-04。"],[[["This guide helps publishers integrate LG U+AD into their apps using Google Mobile Ads mediation."],["It provides step-by-step instructions on setting up the mediation adapter and required parameters."],["Publishers need an app with Google Mobile Ads SDK and a Google Ad Manager account with mediation configured."],["Necessary SDKs and adapters for LG U+AD can be downloaded from the provided links."],["The guide includes instructions for integrating the SDK and adapter files into Unity projects for Android and iOS platforms."]]],["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"]]