How do I make an Admob ad visible/show up? [SOLVED!]

  • tuckerwagner

    I found this tutorial : https://www.scirra.com/tutorials/1386/u ... lk/page-10

    and tested it in a new very simple game project (3 squares activating or disabling ads). It's working! I can see the test ads on my Android tablet.

    Now I'll try to make them work in my game project. Not sure how I'll do it as the workflow is exactly the same. I think from what guannstar is explaining that it should be a problem in my code. "On start of layout" seems to be the cause of his problems so I'll double check that.

  • Rable fml I just followed that tutorial exactly again still nothing. Ive also tried doing that tutorial making a sprite that has to be touched to show the ad... nothing. There is really no reason that it shouldn't be working unless I somehow installed Intel XDK or Construct 2 wrong which also makes zero sense how that could cause my problem.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You must make this event

    ///////////////////////////////////

    On Start Of The Layout

    --------------->Pre-load Banner ads

    --------------->Pre-load Interestital ads

    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Then your banner/interestital ads will

    Show up

    Thanks

    Aslam

    11 year old kid(me)

  • You must make this event

    ///////////////////////////////////

    On Start Of The Layout

    --------------->Pre-load Banner ads

    --------------->Pre-load Interestital ads

    \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Then your banner/interestital ads will

    Show up

    Thanks

    Aslam

    11 year old kid(me)

  • Hey, guys! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    I just wanted to share the info with you that it works for me.

    I spent around 2 hours to give it a try.

    I used the built-in Admob Construct 2 plugin, and followed steps from their documentation.

    I gave a look at this tutorial: https://youtu.be/2Lvohs8_7cQ - Which is just basic, except that the right Plugin ID to add to your XDK project is cordova-plugin-ad-admob shown in the video, and not the one from C2 documentation.

    Then I set up the xdk project ready for production, build it and import it into PhoneGap.

    In PhoneGap, I built the app for production as well. Download the .apk, install it manually on my Android (Motorola G running version 5.1 of Android), and tadaaa... Ad is showing. <img src="{SMILIES_PATH}/icon_cool.gif" alt="8-)" title="Cool">

    Hope this help!

    Tomorrow I will upload the game to Play Store and iOS for Beta testing, and I'll let you know if it works. Hope so.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)