按下Android设备的返回键按钮无法关闭Admob插页式广告 [英] Can't dismiss Admob Interstitial Ads by pressing Back key button of Android device

查看:84
本文介绍了按下Android设备的返回键按钮无法关闭Admob插页式广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用最新的广告库('com.google.android.gms:play-services-ads:19.3.0')

I am using latest Ads library ('com.google.android.gms:play-services-ads:19.3.0')

最近,无法通过按返回键按钮来关闭插页式广告.我必须点击关闭"广告界面中的按钮"以关闭广告.

Recently, It is unable to close an Interstitial ads by pressing Back key button. I have to tap on "Close" button from Ads UI to dismiss the Ads.

有人有同样的问题吗?这是Admob的新功能吗?

Any body had same problem? Is it a new feature of Admob?

  MobileAds.initialize(this);
interstitialAd = new InterstitialAd(this);
interstitialAd.setAdUnitId("ca-app-pub-3940256099942544/1033173712");
interstitialAd.loadAd(new AdRequest.Builder().build());
tvTitle.setOnClickListener(v -> {
if (interstitialAd.isLoaded()) {
interstitialAd.show();
}
});

推荐答案

我也有这个.我已经与AdMob的人员进行了交谈,询问他们是否更改了广告的行为,并确认确实如此.不再可能使用返回"按钮以关闭插页式广告,他们告诉我不需要在我这边做任何更改.我想用户必须使用"Close"(关闭)或"X"点击广告本身中的按钮以将其关闭.

I've this too. I've talked with people at AdMob and asked if they changed the behavior of their ads and they confirmed that they did. It's no longer possible to use the "Back" button to dismiss the interstitial ad and they told me that no changes are required on my side. I guess users must use the "Close" or "X" button within the ad itself to close it.

这篇关于按下Android设备的返回键按钮无法关闭Admob插页式广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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