Buildbox 3 Beta Android: Integrated Admob Interstitial Ads With Custom Options

Discussion in 'Buildbox 3.0' started by particles, Oct 25, 2018.

  1. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    286
    Likes Received:
    196

    Post for Interstitial and Banner Ad for AdMob in iOS Device:

    https://www.buildbox.com/forum/inde...al-ads-integration-with-custom-options.14590/

    Post for Interstitial and Banner Ad for HeyZap in iOS Device:

    https://www.buildbox.com/forum/inde...stitial-ads-heyzap-with-custom-options.14286/


    Admob Interstitial Ads Integration

    Android Implementation at
    https://play.google.com/store/apps/details?id=com.gametwopointzero.live

    Ad Interstitial
    1. Add Ad Frequency in your GameOverUI with custom options.
    2. Update Android Manifest
    3. Update PTPlayer.java
    4. Update AdIntegrator.java

    1. Add Ad Frequency in your GameOverUI with custom options.
    [​IMG]

    2. Update AndroidManifest with AdMob App Id
    [​IMG]

    3. Update PTPlayer for adding instance reference and resume method
    [​IMG]

    4.Update AdIntegrator
    [​IMG]

    Attached reference files. Same goes to adding any other ad frameworks.
     

    Attached Files:

    Last edited: Apr 24, 2019
  2. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    286
    Likes Received:
    196
    @Logan242 I verified your build. Your package name contains super keyword. com.logan.super . Just rename to some other and export from buildbox for android. It should work.
     
  3. Logan242

    Logan242 Boxer

    Joined:
    Sep 28, 2018
    Messages:
    85
    Likes Received:
    11
  4. zaiba

    zaiba Boxer

    Joined:
    Oct 29, 2018
    Messages:
    1
    Likes Received:
    0
    @particles please help me out in dont undestand how to add admob ads in buildbox 3
     
  5. Jad Tounsi El Azzoiani

    Jad Tounsi El Azzoiani Boxer

    Joined:
    Nov 2, 2018
    Messages:
    3
    Likes Received:
    0
    @particles Can you please help me add Advertisement to my game using buildbox 3? I can't seem to make it work, as there is not a ad setting just like BB2.
     
  6. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    286
    Likes Received:
    196
  7. Jad Tounsi El Azzoiani

    Jad Tounsi El Azzoiani Boxer

    Joined:
    Nov 2, 2018
    Messages:
    3
    Likes Received:
    0
    @particles Where did you access the Android Manifest file?
     
  8. particles

    particles Avid Boxer

    Joined:
    Aug 31, 2018
    Messages:
    286
    Likes Received:
    196
  9. everchangeapps

    everchangeapps Boxer

    Joined:
    Jan 13, 2018
    Messages:
    57
    Likes Received:
    24
    Do we need to be adding SDKs into the android build file as well?
     
  10. Jackps

    Jackps Boxer

    Joined:
    Mar 12, 2018
    Messages:
    21
    Likes Received:
    2
    Wow great , thanks so much :)
     
  11. bgwiss

    bgwiss Boxer

    Joined:
    Oct 31, 2018
    Messages:
    58
    Likes Received:
    15
    What should be the APPLICATION_ID in your first step?
     
  12. Chadwick

    Chadwick Boxer

    Joined:
    Dec 23, 2018
    Messages:
    3
    Likes Received:
    0
    That should stay the same.
    You should change the value though.
     
  13. bgwiss

    bgwiss Boxer

    Joined:
    Oct 31, 2018
    Messages:
    58
    Likes Received:
    15
    Hi Chadwick,

    I followed the exact steps, and placed only the test ID for the interstitial ad, but the ad isn't showing still.
     
  14. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,187
    Likes Received:
    501
    application ID comes from your ad network. Usually a long series of numbers/and or letters
     
  15. Chadwick

    Chadwick Boxer

    Joined:
    Dec 23, 2018
    Messages:
    3
    Likes Received:
    0
    Sometimes it takes a couple hours for ads to start showing. I know in my app it took a bit for them to start.

    Just double check everything and make sure you've got everything that's laid out here.
     
  16. bgwiss

    bgwiss Boxer

    Joined:
    Oct 31, 2018
    Messages:
    58
    Likes Received:
    15
    Well I rectified it, it seems particles didn't mention that we need to call showInterstitial() method in initBridge().
     
  17. everchangeapps

    everchangeapps Boxer

    Joined:
    Jan 13, 2018
    Messages:
    57
    Likes Received:
    24
    I followed the direction to a T. and i keep getting an error with the R file "cannot find file "R"" or w.e during build, where it fails.
    If i build without adding the ads the game works fine, but once i change a bit of the code, it always throws that error. The R java file is there, and its labeled in the header, but the error is throwing on the Import function for R. it cant import it, cause it cant find it or something. I also get an issue when trying to use leaderboard/gameservices in buildbox. If i put my leaderboard ID and the Game Services ID into buildbox, then export and build, it builds, but my loading screen is me logging into game services, and then it just strobe lights my loading screen and never changes.
     
  18. bgwiss

    bgwiss Boxer

    Joined:
    Oct 31, 2018
    Messages:
    58
    Likes Received:
    15
    Can you share your android export file in order to look at the issue?
     
  19. everchangeapps

    everchangeapps Boxer

    Joined:
    Jan 13, 2018
    Messages:
    57
    Likes Received:
    24
    i can share screenshots of it.
     
  20. bgwiss

    bgwiss Boxer

    Joined:
    Oct 31, 2018
    Messages:
    58
    Likes Received:
    15
    Please go ahead I will look into it
     

Share This Page