英文:
Google admob specific interstitial ads are not closing
问题
在我的应用中,我实现了插页式广告。
在广告关闭后,我的内容将会加载。
我使用了以下代码来实现这个功能:
if (MainActivity.interstitialAd.isLoaded()) {
MainActivity.interstitialAd.show();
MainActivity.interstitialAd.setAdListener(new AdListener() {
@Override
public void onAdClosed() {
youTubePlayer.loadVideo(youtubeVideoId, 0);
}
});
} else {
youTubePlayer.loadVideo(youtubeVideoId, 0);
}
MainActivity.loadInterstitialAd();
这个实现在之前的插页式广告上是有效的。
但是,从昨天开始,我发现一些特定的广告无法关闭。
我认为问题可能出在 Google AdMob API 上,但我该如何在我的端解决这个问题呢?
英文:
In my app I implemented interstitial ads.
On adclose my content will load.
I used following code for implementing this
if (MainActivity.interstitialAd.isLoaded()) {
MainActivity.interstitialAd.show();
MainActivity.interstitialAd.setAdListener(new AdListener() {
@Override
public void onAdClosed() {
youTubePlayer.loadVideo(youtubeVideoId, 0);
}
});
} else {
youTubePlayer.loadVideo(youtubeVideoId, 0);
}
MainActivity.loadInterstitialAd();
This implementation works on interstitial ads before.
But, from yesterday i discovered some specific ads which are not closing.
I think the problem is from google admob api but how can I fix the issue in my end?
答案1
得分: 2
这个bug来源于2020年6月,但所有的Google员工都在家办公。许多出版商和开发者在各个平台上发帖,但他们没有回应。我认为Google对这类bug不太重视。只有当出现问题时,他们才会暂停admob和AdSense。如果bug是出在他们这边,我们只能等待,直到他们从睡眠中醒来。
链接:https://github.com/googleads/googleads-mobile-android-examples/issues/272
英文:
This bug is from June 2020 but all Google employees are work from home.. Lots of publishers and developers are posted in various platforms they are not responding. I think Google was not serious on this type of bugs. They only suspend admob, AdSense if anything went wrong. If the bug is from their side we can only do just need to wait for lifetime until they woke up from sleep.
https://github.com/googleads/googleads-mobile-android-examples/issues/272
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论