B4A Library Google App Open Ads

This is a wrapper of Google AppOpen Ads library for B4A. I made this for @Jack Cole and he gave me permission to post this in forum to help other users.

B4i wrapper is available here.

GADAppOpenAd

Author:
@Biswajit
Version: 1
  • GADAppOpenAd
    Google AppOpenAd.
    • Events:
      • AppOpenAd_Event (event As String)
    • Functions:
      • Initialize (callback As Object)
        Initializes the object on Activity_Create.
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • RequestAppOpenAd (adID As String)
        Request an ad for later use.
        Like you can call this after the user dismisses the first ad.
      • TryToPresentAppOpenAd (adID As String)
        Call this method on Application_Resume event.
        If there is no ad loaded then it will first load the ad then present the ad.
Installation: Copy the attached JAR and XML files to B4A additional library folder.
 

Attachments

  • GADAppOpenAd.xml
    2 KB · Views: 248
  • GADAppOpenAd_example.zip
    10.7 KB · Views: 254
  • GADAppOpenAd.jar
    4.3 KB · Views: 237

MarcoRome

Expert
Licensed User
Longtime User
Hi @Biswajit.
Thank you both for this new library.
When i try your example the app opens and after a few seconds it crashes with the following error:

 

Biswajit

Active Member
Licensed User
Longtime User
Hi @Biswajit.
Thank you both for this new library.
When i try your example the app opens and after a few seconds it crashes with the following error:
Update google play service ads from SDK manager.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…