B4i Library Google App Open Ads

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

B4A wrapper is available here.

iGADAppOpenAd

Author:
@Biswajit
Version: 1
  • iGADAppOpenAd
    Google AppOpenAd.
    • Events:
      • AppOpenAd_Event (event As String)
    • Functions:
      • Initialize (callback As Object)
        Initializes the object on Application_Start.
      • IsInitialized As BOOL
        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.
      • SetTestDevices (ID As String)
        NOT NEEDED FOR SIMULATORS
        If you are testing the ad integrtion then call this after initializing.
        ID that is displayed in the logs
      • TryToPresentAppOpenAd (adID As String)
        Call this method on Application_Active event.
        If there is no ad loaded then it will first load the ad then present the ad.
Installation:
  1. Download the latest libraries from here.
  2. Download the attached library zip.
  3. Copy the .a and .h to the local build server Libs folder on your mac.
  4. Copy the xml file to the B4i additional library folder on windows.
  5. Download the GoogleMobileAds frameworks from: www.b4x.com/b4i/files/GoogleMobileAds-v7.69.0.zip
  6. Copy all the frameworks to the local build server Libs folder on your mac
 

Attachments

  • Library Files.zip
    59.3 KB · Views: 22
  • iGADAppOpenAd_example.zip
    4.8 KB · Views: 12
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User

mcqueccu

Well-Known Member
Licensed User
Longtime User
Can we have the appopenads to support UMP? or it depends on the original iAdmob?
 
Top