How to remove admob banner or stop its operation in iOS

146 views
Skip to first unread message

BS ChAe

unread,
Jan 25, 2024, 9:59:47 AM1/25/24
to Google Mobile Ads SDK Developers
hello
I have had ad serving restricted due to concerns about invalid traffic.
So we are trying to solve the expected problem.
My app uses the bottom sheet a lot.
I think this bottom sheet covers the banner advertisement, raising concerns about invalid traffic.
It will be easier to understand if you look at the attached image.
As in the 'before' image, the bottom sheet covers the banner advertisement.
So, like in the 'after' image, I want to remove the advertisement when the bottom sheet is displayed and then display the banner advertisement again after the bottom sheet is closed.

1. Are there any additional policies that need to be checked when doing this work?
2. The admob banner guide does not provide a way to stop or remove banner advertisements. If I call the 'removeBannerView' function like in the attached code, will it be completely removed?
3. Please tell me in detail how to stop, disable or remove admob banner.

I'd like to hear your opinions on doing something like this.

Thank you.
before.png
after.png
code.png

Mobile Ads SDK Forum Advisor

unread,
Jan 25, 2024, 3:21:03 PM1/25/24
to compet...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK Support team. 

As i can understand banner view is covering for sometime while opening bottom sheet. This will create policy violation.
Closing banner ad logic is correct it will remove the ad but make sure while opening any sheet first wait for banner to be close then open bottom sheet. 
Or alternative approach, in case you don't want to stop ad is to keep it like that and adjust bottom sheet constraints  accordingly. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rYfkz:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages