问题标签 [mobile-ad-mediation]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
608 浏览

unity3d - 任务“:checkReleaseDuplicateClasses”执行失败

我正在尝试 Admob 调解,在构建过程中我遇到了这些错误。'''任务':checkReleaseDuplicateClasses'执行失败。

工人引发了 1 个异常:java.lang.RuntimeException:java.lang.RuntimeException:在模块 classes.jar 中找到了重复的类 android.support.v4.graphics.drawable.IconCompatParcelizer (:androidx.core.core-1.0.0: ) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar 中找到重复的类 android.support.v4.os.ResultReceiver (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core) 中发现重复的类 android.support.v4.os.ResultReceiver$1 :core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:) 中找到重复的类 android.support.v4.os.ResultReceiver$MyResultReceiver 1.0.1) 在模块类中发现重复的类 android.support.v4.os.ResultReceiver$MyRunnable。jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 androidx.arch.core.core 中找到重复的类 androidx.arch.core.internal.FastSafeIterableMap -common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx.arch.core:core-common:2.0.0)在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common 中发现重复的类 androidx.arch.core.internal.SafeIterableMap -2.0.0.jar (androidx.arch.core:core-common:2.0.0) 在模块 androidx.arch.core.core-common-2.0.0 中找到重复的类 androidx.arch.core.internal.SafeIterableMap$AscendingIterator .jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx.arch.core:core-common:2.0.0) 重复类 androidx.arch。核心.内部。SafeIterableMap$DescendingIterator 在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx .arch.core:core-common:2.0.0) 重复类 androidx.arch.core.internal.SafeIterableMap$Entry 在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core .core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx.arch.core:core-common:2.0.0) 发现重复的类 androidx.arch.core.internal.SafeIterableMap$IteratorWithAdditions在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx.arch.core :core-common:2.0.0) 重复类 androidx.arch.core.internal.SafeIterableMap$ListIterator 在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core.core-common -2.0。0.jar) 和 core-common-2.0.0.jar (androidx.arch.core:core-common:2.0.0) 在模块 androidx.arch.core 中发现重复的类 androidx.arch.core.internal.SafeIterableMap$SupportRemove .core-common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和 core-common-2.0.0.jar (androidx.arch.core:core-common:2.0. 0) 在模块 androidx.arch.core.core-common-2.0.0.jar (androidx.arch.core.core-common-2.0.0.jar) 和核心中发现重复的类 androidx.arch.core.util.Function -common-2.0.0.jar (androidx.arch.core:core-common:2.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection -1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0.0 中找到重复的类 androidx.collection.ArrayMap$1。jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0 中找到重复的类 androidx.collection.ArraySet .0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx.collection 中找到重复的类 androidx.collection.ArraySet$1 .collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块中发现重复的类 androidx.collection.CircularArray androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 重复类 androidx.collection.CircularIntArray在模块 androidx.collection 中找到。collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx 中发现了重复的类 androidx.collection.ContainerHelpers .collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 发现重复的类 androidx.collection.LongSparseArray在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 重复类 androidx.collection在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 中发现 .LruCache 重复类androidx.collection。在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 中发现 MapCollections 重复类 androidx .collection.MapCollections$ArrayIterator 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0. 0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection) 中发现重复的类 androidx.collection.MapCollections$EntrySet :collection:1.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0 中找到重复的类 androidx.collection.MapCollections$KeySet。罐子(androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar 中找到重复的类 androidx.collection.MapCollections$MapIterator (androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection- 中找到重复的类 androidx.collection.MapCollections$ValuesCollection 1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 中找到重复的类 androidx.collection.SimpleArrayMap和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 androidx.collection.collection-1.0.0.jar (androidx.collection.collection-1.0.0.jar) 和 collection-1.0.0.jar (androidx.collection:collection:1.0.0) 在模块 classes.jar (:androidx.core.core-1.0.0: ) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx) 中找到重复的类 androidx.core.app.ActivityCompat .core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0) 中发现重复的类 androidx.core.app.ActivityCompat$1 .1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现重复的类 androidx.core.app.ActivityCompat$OnRequestPermissionsResultCallback 重复的类androidx.core.app.ActivityCompat$PermissionCompatDelegate 在模块类中找到。jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx. core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0) 中找到重复的类 androidx.core.app.ActivityCompat$SharedElementCallback21Impl .0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 中找到重复的类 androidx.core.app.ActivityCompat$SharedElementCallback21Impl$1和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx. core:core:1.0.1) 重复类 androidx.core.app。在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现 ActivityOptionsCompat 在模块类中发现重复的类 androidx.core.app.ActivityOptionsCompat$ActivityOptionsCompatImpl .jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core) 中找到重复的类 androidx.core.app.AlarmManagerCompat .core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0: ) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx) 中找到重复的类 androidx.core.app.AppLaunchChecker .core:core:1.0.1) 重复类 androidx.core.app。在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现 AppOpsManagerCompat 在模块 classes.jar 中发现重复的类 androidx.core.app.BundleCompat (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core) 中找到重复的类 androidx.core.app.BundleCompat$BundleCompatBaseImpl .core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0: ) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar 中找到重复的类 androidx.core.app.ComponentActivity$ExtraData (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core) 中找到重复的类 androidx.core.app.CoreComponentFactory$CompatWrapped -1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和classes.jar (androidx.core:core:1.0.1) 重复类 androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx .core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core) 中找到重复的类 androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl$1 :1.0.1) 重复类 androidx.core.app。FrameMetricsAggregator$FrameMetricsBaseImpl 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app.FrameMetricsAggregator$MetricType模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx) 中找到重复的类 androidx.core.app.JobIntentService .core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core- 1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 中找到重复的类 androidx.core.app.JobIntentService$CompatJobEngine和 classes.jar (androidx.core:core:1.0.1) 重复类 androidx.core.app。JobIntentService$CompatWorkEnqueuer 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app.JobIntentService$CompatWorkItem模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar ( :androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core. core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0) 中找到重复的类 androidx.core.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem .0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现重复类 androidx.core.app.JobIntentService$JobWorkEnqueuer 重复类 androidx .core.app.JobIntentService$WorkEnqueuer 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app。在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到 NavUtils 在模块 classes.jar 中找到重复的类 androidx.core.app.NotificationBuilderWithBuilderAccessor (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core) 中找到重复的类 androidx.core.app.NotificationCompat -1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 重复类 androidx。在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现 core.app.NotificationCompat$Action 重复类 androidx.core.app.NotificationCompat在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现 $Action$Builder 重复类 androidx.core.app.NotificationCompat$Action$在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到扩展器模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块类中发现重复的类 androidx.core.app.NotificationCompat$Action$WearableExtender。 jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现重复类 androidx.core.app.NotificationCompat$BadgeIconType 重复类 androidx .core.app.NotificationCompat$BigPictureStyle 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app。 NotificationCompat$BigTextStyle 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app.NotificationCompat$Builder模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar ( :androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现重复的类 androidx.core.app.NotificationCompat$CarExtender$UnreadConversation在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现类 androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder 重复类在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中发现 androidx.core.app.NotificationCompat$DecoratedCustomViewStyle 重复类 androidx.core.app .NotificationCompat$Extender 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 ''' 中找到) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 中找到重复的类 androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar ( androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 ''' 中找到重复的类 androidx.core.app.NotificationCompat$Extender) 和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 中找到重复的类 androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder和 classes.jar (androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar ( androidx.core:core:1.0.1) 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 ''' 中找到重复的类 androidx.core.app.NotificationCompat$ExtenderNotificationCompat$DecoratedCustomViewStyle 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app.NotificationCompat$Extender模块 classes.jar (:androidx.core.core-1.0.0:) 和 '''NotificationCompat$DecoratedCustomViewStyle 在模块 classes.jar (:androidx.core.core-1.0.0:) 和 classes.jar (androidx.core:core:1.0.1) 中找到重复的类 androidx.core.app.NotificationCompat$Extender模块 classes.jar (:androidx.core.core-1.0.0:) 和 '''

0 投票
1 回答
1499 浏览

ios - 如何加载 AdMob 中介适配器

我尝试在 iOS 上使用 AdMob 中介。我在我的 Podfile 中添加了以下几行:

我使用以下代码来初始化 AdMob:

如果我启动应用程序,我会得到以下输出:

在链接器输出上,我可以看到适配器已链接。我怎样才能解决这个问题?GoogleMobileAdsMediationTestSuite 也认为 AdMob 适配器丢失,但我从 AdMob 获得广告。

0 投票
0 回答
388 浏览

android - 设置 MoPub 以调解 AdMob 原生广告

我正在尝试通过 MoPub SDK 投放 AdMob 广告。到目前为止,我没有成功,收到相当不具体的错误消息:

未找到广告单元的广告。

  • 我已经集成com.google.android.gms:play-services-ads:18.3.0com.mopub.mediation:admob:18.3.0.1通过 Gradle
  • 我在 AndroidManifest.xml 中包含了我的 AdMob 应用程序 ID
  • 我在 AdMob 信息中心创建了一个“高级原生广告”单元
  • 我在 MoPub 控制台中将 AdMob 添加为新网络,并将 AdMob“高级原生广告”单元的 ID 插入到 MoPub 原生广告单元的字段中
  • 我停用了市场,只接收潜在的 AdMob 广告
  • 在我的代码中,我使用初始化 MoPub.withMediatedNetworkConfiguration(GooglePlayServicesAdapterConfiguration.class.getName(), config)
  • 在我的代码中,我GooglePlayServicesAdRenderer为我的MoPubRecyclerAdapter使用注册了一个MediaViewBinder

我在这里想念什么?

AdMob 中介指南中,也建议setLocalExtras在请求广告时使用。但是,这是不可能的,如果我使用MoPubRecyclerAdapter,是吗?

(顺便说一句:如果我使用 MoPub 市​​场展示原生广告,我总是只看到一个并且总是相同的广告,这是否正常?如何有更多种类?)

0 投票
1 回答
350 浏览

android - 如何在 Xamarin Android 中使用 Facebook Audience Network 对 Admob 中介进行故障排除/测试?

  1. 我们已按照提及将 Facebook Audience Network 与中介集成的所有步骤进行操作
  2. 将 Xamarin.Facebook.AudienceNetwork.Android nuget 包版本 5.6.0 添加到 Xamarin Android
  3. 从这里下载 .aar 包
  4. 使用此处的指导创建绑定并添加到 Xamarin Android 项目
  5. 应用程序构建成功,但没有来自 FAN 的测试广告
  6. 在 Facebook 货币化管理器 - 应用程序状态正在审核中,将受众网络 SDK 集成到您的应用程序中已打勾(完成)
  7. 我试图在 Xamarin 中找到货币化测试套件包,但没有任何成功。
0 投票
0 回答
124 浏览

android - 程序类型已存在:com.google.android.gms.common.zza

我正在尝试对我的源代码实施调解,但我不断收到以下错误:

程序类型已存在:com.google.android.gms.common.zza

我实际上是一个初学者,我正在按照谷歌开发者文档中的步骤进行操作。我将我的项目迁移到 android X 没有错误。

任何人都可以帮忙吗?

0 投票
1 回答
2213 浏览

flutter - 使用 Admob 中介的 Adcolony 在 Flutter 应用程序中不起作用

我目前正在使用 Google Admob 在我的应用中展示广告,我想添加中介,因为我对填充率不满意。我按照他们在网站上的步骤,按照他们的步骤通过调解整合了 Adcolony。我添加了 adcolony.jar 文件并使用 Android Studio 将其与 Gradle 同步。在集成过程中,我在我的应用级 build.gradle 中添加了这些行,

运行我的应用程序后,调试控制台会抛出以下错误:

我已经缩短了我的错误,但主要是与找到的重复类有关,我不知道如何在我的 build.gradle 中排除这么多类。请帮忙。

0 投票
0 回答
32 浏览

facebook - Facebook Network Audience - 优化中,广告未展示

我在 admob 上创建了一个包含 admob 广告和 Facebook Network Audience 的中介组。然而,admob 广告正在展示,但对于 Facebook 网络受众,它显示“正在进行优化”。我不知道如何解决这个问题,任何帮助都会很棒。谢谢!

0 投票
1 回答
4007 浏览

facebook - 在 Flutter 中,如何将 facebook 受众作为中介网络与 Admob 集成?

我是广告中介的新手。我有一个颤振应用程序,我已经使用以下 admob_flutter 插件集成了 admob,它在 Android 和 iOS 上都可以正常工作。

https://pub.dev/packages/admob_flutter

现在我想将 facebook 受众添加为中介网络。我已按照谷歌提供的以下教程中的步骤设置受众帐户并在 Admob 门户中集成。

https://developers.google.com/admob/android/mediation/facebook

我的困惑是关于 facebook Audience sdk 的整合。我应该添加哪一个:

  1. facebook_audience 颤振插件 - https://pub.dev/packages/facebook_audience_network

  2. 实施 'com.google.ads.mediation:facebook:5.8.0.0' - 谷歌教程要求添加开源中介适配器。

  3. implementation 'com.facebook.android:audience-network-sdk:5.+' - facebook 观众教程要求集成这个 sdk。

betweek sdk 和适配器有什么区别?我们是否应该同时拥有 facebook 受众 sdk 和中介适配器(第 2 点和第 3 点)?如果只有sdk就足够了,那么包括flutter插件对于android和iOS都足够了吗?

谢谢

0 投票
1 回答
4160 浏览

flutter - 扑。带中介的 Admob 广告

我已将https://pub.dev/packages/firebase_admob集成到我的应用程序中并实现了rewarded ads. 我现在的问题是我想通过这个插件使用中介。唯一的事情是我知道(从开发 Android 应用程序以及它在 Admob 文档中说的)需要在应用程序中包含中介网络的 SDK。

这个插件甚至支持中介吗?我找不到与此相关的任何内容。或者中介是否仅来自 admob 仪表板,只需设置带有中介的添加单元,而您实际上并不需要添加 SDK?

我找不到这个插件的任何适配器,所以......真的没有任何东西可以集成到应用程序中。

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

0 投票
0 回答
424 浏览

flutter - 即使在多次请求之后,admob 中介 adcolony 仍然处于 0% 填充状态

我正在使用 admob_flutter:https ://pub.dev/packages/admob_flutter 它在我的应用程序上运行良好,直到臭名昭著的“有限广告服务”被放置了两个多月。

现在我决定添加 AdColony 作为中介。按照所写的内容https://developers.google.com/admob/android/mediation/adcolony 仍然不确定为什么我的填充率仍然为 0%。

我怀疑 SDK 集成是错误的。上次我在我的应用程序级 build.gradle 上写这个

我收到一条错误消息,提示 Task :app:transformClassesAndResourcesWithR8ForRelease FAILED。一直在互联网上寻找,但到目前为止没有运气。

所以我决定做手动集成,这需要我下载 adcolony.jar 和 adcolony-4.1.4.1,把文件放在 app/libs/ 并在我的应用级别 build.gradle 上写这个

我什至允许这样做,因为谷歌文件说让 adcolony 表现更好

构建应用程序包时一切正常且没有错误。今天,我检查了我的 Admob,它说它向 adColony 发送了超过 2k 的请求,但获得了 0 次展示。当我检查我的 adColony 仪表板时,一切都是 0。我在这里错过了什么吗?

在将 adColony 实施为中介时不确定这是否相关,但我的 adColony 仪表板上有此警告

警告

在此处输入图像描述