I’ve developed an android phonegap application. The app make use of native admob ad code where the ad is displayed at the bottom of the app. I chose the native method instead of javascript intergration because the native version allow me to have more option to modify in admob website. My question: Is it possible to hide/unhide admob ad from javascript?
Thanks.
You can implement a plugin which will show/hide the ad banner.
Here is an example:
com.example.AdBanner:
In your main activity:
In plugins.xml:
Now you can hide ad banner from javascript: