I'm having random issues with banner ads on a mobile app. After launching the app banner is properly loaded and displayed, but after some random time I got Failed to load ad: 3
, banner disappers and is no longer refreshed.
I can see repeated messages in logcat:
Ad is not visible. Not refreshing ad.
Scheduling ad refresh 60000 milliseconds from now.
In hierarchy view I can also see that admob view is removed:
View whierarchy when banner is being displayed:
android.widget.FrameLayout{41e45b50 V.E..... ........ 0,725-480,800 #7f09000b app:id/bannerFrame}
com.heyzap.sdk.ads.BannerAdView{41de9d00 V.E..... ........ 0,0-480,75}
com.fyber.ads.banners.BannerAdView{41fa1960 V.E..... ........ 0,0-480,75}
com.google.android.gms.ads.AdView{41de6ef0 V.E..... ........ 0,0-480,75}
com.google.android.gms.ads.internal.bp{420e3918 V.E..... ........ 0,0-480,75}
com.google.android.gms.ads.internal.webview.n{41e21828 V.E..... ........ 0,0-480,75}
com.google.android.gms.ads.internal.webview.o{41e4e298 VFEDHVC. ........ 0,0-480,75}
View hierarchy when banner is no longer visible:
android.widget.FrameLayout{41e39e50 V.E..... ........ 0,725-480,800 #7f09000b app:id/bannerFrame}
com.heyzap.sdk.ads.BannerAdView{41ddf9c0 V.E..... ......I. 0,0-480,75}
com.fyber.ads.banners.BannerAdView{41d8d768 V.E..... ........ 0,0-480,75}
Banner properly reloads only after the app is killed and re-run.
I'm using Heyzap v10.3 with AdMob enabled. I have not seen such behavior before v10 sdk.
Here is my logcat: https://gist.github.com/anonymous/5df7e6f866e94d3c47ece8e12e22e560 (5841 is my app process id)