将 AdFalcon 与中介集成
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本指南适用于希望将 Google 移动广告中介与 AdFalcon 搭配使用的发布商,其中介绍了如何为当前应用设置中介适配器,以及如何设置其他请求参数。
前提条件
实用的入门信息
以下帮助中心文章提供了关于中介的背景信息:
添加广告资源网适配器和 SDK
通过上面提供的链接下载适用于 AdFalcon 的 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):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 covers setup of the AdFalcon mediation adapter and additional request parameters.\u003c/p\u003e\n"],["\u003cp\u003ePrerequisites include an app with the Google Mobile Ads SDK and a Google Ad Manager account configured for mediation.\u003c/p\u003e\n"],["\u003cp\u003ePublishers need to download and include the AdFalcon SDK and adapter, along with necessary network configurations for Android and iOS.\u003c/p\u003e\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](/ad-manager/mobile-ads-sdk/flutter/quick-start).\n\n- A Google Ad Manager account with [Mediation for mobile\n apps](//support.google.com/admanager/answer/6272813) configured.\n\nHelpful primers\n---------------\n\nThe following Help Center articles provide background information on mediation:\n\n- [Introduction to mediation](//support.google.com/admanager/answer/6272813)\n- [How mediation works](//support.google.com/admanager/answer/7391294)\n- [Get started with mediation](//support.google.com/admanager/answer/7387351)\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, while others offer it as\na separate file. See the integration instructions or README that's included with\neach adapter.\n\nInclude the mediated networks' SDKs and adapter files as dependencies in your\napp-level `build.gradle` file on Android and `Podfile` on 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 `android/app/src/main` directory.\n\niOS\n: Open your project's `ios/Runner.xcworkspace` in Xcode, and include any\n frameworks, 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."]]