Remove admob ads temporaly

1.7k views Asked by At

I want to disable admob ads temporaly without remove the code in my app. I want can disable and enable from the console of admob. ¿I can do it?, I search in the options and i dont see nothing.

2

There are 2 answers

1
Eric Leichtenschlag On

If you're using mediation, you can turn off all your mediation networks. You can't turn off your site ID though. A workaround is to set up a house ad instead to serve to your apps instead of an ad.

0
byDavid360 On

You could always use adView.setVisibility(AdView.GONE);, or adView.setVisibility(AdView.INVISIBLE);so it "is" not here (is invisble) and you does not have to delete code. The difference is: with GONE, it "goes" away so it does not take space in your layout and is invible, while with INVISIBLE, it only appears as invisible without dissapearing from layout, so it takes a space in it.