iAdMob v1.10 adds support for interstitial ads (full screen ads).
In order to show an interstitial ad you need to first request an ad and wait for the Ready event.
If Success is true then there is an ad ready to be displayed. You can then call iad.Show(Page) to show it.
You can also call iad.RequestAd again to request a new ad.
Note that you can show test ads by calling:
Code:
iad.SetTestDevices(Array("121212121212")) 'id that is displayed in the logs
Code:
Sub...
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1UN1F9X
via IFTTT
Aucun commentaire:
Enregistrer un commentaire