native_admob_flutter icon indicating copy to clipboard operation
native_admob_flutter copied to clipboard

Banner ads issue

Open elkhalifte opened this issue 4 years ago • 5 comments

Banner ads are still getting impressions even if the app is in background mode. This issue will lead to admob limit (invalid traffic). I think you should resolve this by adding a lifecycle and then put banner ads in pause when the app is in background.

elkhalifte avatar Dec 16 '21 01:12 elkhalifte

Banner ads are still getting impressions even if the app is in background mode. This issue will lead to admob limit (invalid traffic). I think you should resolve this by adding a lifecycle and then put banner ads in pause when the app is in background.

Can Native Ads prevent this invalid traffic issue? I encountered similar issue, I added a Banner Ads in BottomNavigationBar under SliverAppBar with TabBar. Due to Flutter limitation, the tabs get rebuilt every time when I switch tab, and this leads to admob limit (invalid traffic). Does Flutter cache Native Ads ? I am thinking to switch to Native Ads, but it this package doesn't support Native Ads for iOS.

EternalYouth29 avatar Jan 15 '22 08:01 EternalYouth29

i have implemented banner ads without the issue you mentioned. my banner ads does not get rebuilt when switching tabs or on setState.

and , yeah it well be nice to replace banner ads with native.

elkhalifte avatar Jan 15 '22 13:01 elkhalifte

i have implemented banner ads without the issue you mentioned. my banner ads does not get rebuilt when switching tabs or on setState.

and , yeah it well be nice to replace banner ads with native.

My rebuilt issue only happens in SliverAppBar with TabBar . Okay thanks, I will switch to native ads first, and might have to switch to google_mobile_ads plugin in the future.

EternalYouth29 avatar Jan 16 '22 02:01 EternalYouth29

Maybe if they're not used in each tab, but below (or above) the whole TabBar and TabBarView, and above BottomNavigationBar, just like the example app

bdlukaa avatar Jan 17 '22 15:01 bdlukaa

@bdlukaa yes. Banner ads are totally working fine and don't get rebuild

elkhalifte avatar Jan 17 '22 16:01 elkhalifte