扑。带有中介的Admob广告 [英] Flutter. Admob ads with mediation

查看:160
本文介绍了扑。带有中介的Admob广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 https://pub.dev/packages/firebase_admob 集成到我的应用中,实施了奖励广告。我现在的问题是我想通过此插件使用中介。我唯一知道的是(从开发Android应用程序开始,并且在Admob文档中也有这样的说法),我需要在应用程序中包含中介网络的SDK。

I've integrated https://pub.dev/packages/firebase_admob into my app and implemented rewarded ads. My problem now is that I'd like to use mediation via this plugin. The only thing is that I know (from developing Android apps and also it says in the Admob docs) that one needs to include the mediated networks' SDKs in the app.

此插件还支持中介吗?我找不到与此相关的任何内容。
还是仅通过admob仪表板提供中介,仅通过设置具有中介的添加单元,而您实际上并不需要添加SDK?

Does this plugin even support mediation? I wasn't able to find anything relating to this. Or does the mediation only come from the admob dashboard, just by setting up the add-unit with mediation and you're not really required to add the SDKs?

我找不到该插件的任何适配器,所以...在应用程序中确实没有任何集成。

I couldn't find any adapters for this plugin, so ... don't really have anything to integrate in the app.

我很困惑。有人知道如何使用中介,或者它是否可以与当前的firebase_admob` flutter插件一起使用?

I'm very confused. Does anyone know how to use mediation or if it even works with the current firebase_admob` flutter plugin?

推荐答案

您可以使用 firebase_admob 并且该依赖项支持中介。您想添加中介,请点击此处查看指南:

You can use firebase_admob and that dependency supports mediation. You you would like to add mediation there is a guide over here:

Android- https://developers.google.com/admob/android/mediate
iOS- https://developers.google.com/admob/ios/mediate

Android - https://developers.google.com/admob/android/mediate iOS - https://developers.google.com/admob/ios/mediate

您可以选择您想要整合的广告网络,并阅读有关操作步骤。有时文档可能已过时,因此只需确保与要集成到其github回购中的广告网络交叉检查步骤即可。

You can select the ad network you would like to integrate and read the steps on how to do so. Sometimes the documentation can be outdated so just make sure you cross-check the steps with the ad network you want to integrate on their github repo.

如果要为Android集成它,则必须在应用程序级别 build.gradle 文件中添加依赖项,然后

If you are integrating it for Android you have to add the dependencies in your app level build.gradle file and it will automatically install that particular ad networks SDK in your Flutter app.

如果您要为iOS添加相同的广告网络SDK,只需安装 Cocoapod Podfile 末尾广告网络的c $ c>。

If you are adding the same for iOS just install the Cocoapod for the ad network at the end of your Podfile.

这篇关于扑。带有中介的Admob广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆