Google AdMob特定的插页式广告无法关闭。

huangapple go评论70阅读模式
英文:

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

huangapple
  • 本文由 发表于 2020年9月2日 12:02:42
  • 转载请务必保留本文链接:https://go.coder-hub.com/63698529.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定