How to temporary disable Admob ads ?

2,394 views
Skip to first unread message

Udeesha Induwara

unread,
Oct 15, 2020, 12:55:41 PM10/15/20
to Google Mobile Ads SDK Developers
In my case, I want to disable admob ads temporary through website. Is it possible ? And can you please explain it.

Mobile Ads SDK Forum Advisor Prod

unread,
Oct 15, 2020, 3:13:20 PM10/15/20
to udeesha...@gmail.com, google-adm...@googlegroups.com
Hi Udeesha,

Thank you for bringing up the possibility of stopping ad serving temporarily from the server up with us. Could you elaborate on your use case?

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q269aDO:ref

Udeesha Induwara

unread,
Oct 15, 2020, 10:46:26 PM10/15/20
to Google Mobile Ads SDK Developers
I want to temporary disable ads for a marketing purpose. Can you please explain is it possible ? and how ?

Mobile Ads SDK Forum Advisor Prod

unread,
Oct 16, 2020, 12:10:20 AM10/16/20
to udeesha...@gmail.com, google-adm...@googlegroups.com

Hi Udeesha,

Could you kindly elaborate on what you mean by disabling ads "through website"? Generally, you can disable AdMob ads by simply not initializing the SDK itself during application launch, or by not requesting ads at all during the app's lifecycle.
 

Google Logo
Ziv Yves Sanchez
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q269aDO:ref

Udeesha Induwara

unread,
Oct 16, 2020, 12:45:34 AM10/16/20
to Google Mobile Ads SDK Developers
Actually I already implemented admob ads and ads are showing now. But I want to temporary disable ad showing without updating any code. 

Mobile Ads SDK Forum Advisor Prod

unread,
Oct 16, 2020, 2:05:15 AM10/16/20
to udeesha...@gmail.com, google-adm...@googlegroups.com

Hi Udeesha,

Thank you for clarifying your concern.

I'm afraid that AdMob does not support disabling ads without needing to modify the app code. The best compromise here would be to perhaps add a debug button somewhere on your app that toggles between having ads enabled or disabled.
 

Udeesha Induwara

unread,
Oct 16, 2020, 3:12:28 AM10/16/20
to Google Mobile Ads SDK Developers
Thank you for your response.
I found this this question and answer from this conversion. Can you please explain about it. I think there is a way.

And also I found some external answers about this problem. can you please check them.

Mobile Ads SDK Forum Advisor Prod

unread,
Oct 16, 2020, 4:01:59 AM10/16/20
to udeesha...@gmail.com, google-adm...@googlegroups.com

Hi Udeesha,

For context: by setting an eCPM floor, you're instructing the AdMob Network not to serve ads to that ad unit that are below the minimum eCPM you've set. You can theoretically "turn off" ads by setting the eCPM floor to an impossibly high number (as was suggested in the second link you provided).

That being said, I would advise against using this if you could rather edit your app's code directly, since eCPM changes take time to manifest, especially if the ad units are new; you can check the "Inaccurate floors in new ad units" section from this page for further details. It may also lead to a prolonged period of having no-fills on your ad units once you turn the eCPM floors back down.

If you still want to go through changing the eCPM, then you may do so via your AdMob console. Kindly see attached screenshots for further details on this.
 

3.png
2.png
1.png

Udeesha Induwara

unread,
Oct 16, 2020, 4:33:37 AM10/16/20
to Google Mobile Ads SDK Developers
Ok. Your answer solved my problem. Thank you.
Reply all
Reply to author
Forward
0 new messages