将 AdFalcon 与中介集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本指南面向有兴趣将 Google 移动广告中介与 AdFalcon 结合使用的发布商。它逐步介绍了如何为当前应用设置中介适配器,以及如何设置其他请求参数。
前提条件
实用入门信息
以下帮助中心文章提供了有关中介的背景信息:
包含广告联盟适配器和 SDK
通过上面提供的链接下载适用于 AdFalcon 的 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-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eThis guide helps publishers integrate AdFalcon with Google Mobile Ads mediation in their apps.\u003c/p\u003e\n"],["\u003cp\u003eIt provides steps to set up the AdFalcon mediation adapter and configure request parameters.\u003c/p\u003e\n"],["\u003cp\u003ePublishers need an app with the Google Mobile Ads SDK and an AdMob account with mediation line items.\u003c/p\u003e\n"],["\u003cp\u003eIntegration involves downloading the AdFalcon SDK and adapter and including them in the Unity project.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Mobile Ads SDK handles communication with the AdFalcon adapter for ad fetching.\u003c/p\u003e\n"]]],["Publishers integrate AdFalcon into Google Mobile Ads mediation by downloading the AdFalcon SDK and adapter, adding them to their app project's directories (Android: `Assets/Plugins/Android`, iOS: `Assets/Plugins/iOS`). For Android, modify the `AndroidManifest.xml` with network-specific configurations. For iOS, include necessary frameworks, flags, and links in the Xcode project. AdFalcon resources like documentation, SDK, adapter, and support are linked. The app doesn't directly call third-party code.\n"],null,["# Integrating AdFalcon with Mediation\n\nThis guide is intended for publishers who are interested in using Google\nMobile Ads mediation with **AdFalcon**. It walks you through getting a\nmediation adapter set up with your current app and setting up additional\nrequest parameters.\n\n| AdFalcon Resources |\n|-------------------------------------------------|\n| [Documentation](//adfalcon.com/) |\n| [SDK](//www.adfalcon.com/en/download-sdk.html) |\n| [Adapter](//www.adfalcon.com/en/adapters.html) |\n| [Customer support](mailto:support@adfalcon.com) |\n\nPrerequisites\n-------------\n\n- An app with the Google Mobile Ads SDK integrated. (If you don't have one, see\n [Get Started](/admob/unity/quick-start).)\n\n- An AdMob account and [an ad unit configured with mediation line\n items](//support.google.com/admob/answer/3124703).\n\nHelpful primers\n---------------\n\nThe following Help Center articles provide background information on mediation:\n\n- [About AdMob Mediation](//support.google.com/admob/answer/3063564)\n- [Set up AdMob Mediation](//support.google.com/admob/answer/3124703)\n- [Optimize AdMob Network](//support.google.com/admob/answer/3534471)\n\nInclude network adapter and SDK\n-------------------------------\n\nDownload the SDK and adapter for AdFalcon from links provided above.\nSome SDKs already include a Google Mobile Ads adapter,\nwhile others offer it as a separate file. See the integration\ninstructions or README that's included with each adapter.\n\nInclude the mediated networks' SDKs and adapter files within\nthe appropriate directory of your Unity project:\n\n- Android: `Assets/Plugins/Android`\n- iOS: `Assets/Plugins/iOS`\n\nInclude network configurations\n------------------------------\n\nAndroid\n: Some ad networks require extra configurations to be added to your\n `AndroidManifest.xml` file. You can make these modifications to the\n `AndroidManifest.xml` inside the `Assets/Plugins/Android/GoogleMobileAds`\n directory.\n\niOS\n: After generating an Xcode from Unity, include any frameworks,\n compiler flags, or linker flags that your chosen networks require.\n\nYour app need not call any third-party ad network code directly; the Google\nMobile Ads SDK interacts with the mediated network's adapter to fetch\nthird-party ads on your behalf."]]