JLH1964's Forum Posts

  • A tip to see if your app is even requesting (requesting but not showing) ads is to go to your Admob account and see if ads were requested by the Ap Id. They usually take an hour or so to display. Looks something like this, under Impressions:

  • Hello,

    I doubt your directory issue would be a problem. Could it be the 'tap' and 'double-tap' area as you both Preload and Show Interstitial on seemingly the same action - a user tap of the same sprite. Perhaps the 'double tap' cancels the Show and instead attempts two Preloads.

    Did you use that procedure on your 'test' app where the ads worked?

  • JLH1964, could the ads not be showing up on my phone, because it's an old phone (or would that not have an effect)? I've been trying all kinds of changes regarding my code, but still, nothing's showing up:(

    I highly doubt it. my 'test' phone is 4 yrs old and ads run fine on it.

  • > If the file is big, check your graphics, transparencies and FX, maybe there is something that is eating up a lot of space?

    >

    you mean during the intelXDK process?

    Thx anyway for reply hehe.

    Don't waste your time. The XDK / Crosswalk process adds 18+ mb to even the smallest of games. A stripped down version of chrome is used so that our apps run on devices.

    I have apps written in code that are compiled at less than 1mb using Eclipse, that same app in XDK / Crosswalk is 20mb.

    It is what it is

  • Thank you soooooo much for the help bro (couldn't have done it without you man). By the way (last question... hopefully), do I do the exact same process with Admob and iOS?

    My pleasure - happy you got some progress.

    As for Admob and iOS, that's a whole different ball of wax . its the same procedure in C2, its the XDK build that can get weird.

    Feel free to start a new thread when you want help with iOS because iOS instructions could get confusing all by themselves.

  • Then it has to be your C2 'code' or logic.

  • Hey JLH1964, I tried making the "test app" like you said, and yea, it did work... I saw an AD!!! Now, I just don't get it though... if it works on the test app, why doesn't it work in my actual game (I followed the exact same Admob setup process with both apps)? So, why aren't any ads showing up in my game (not even banner ads will show up on start of layout, I put in both banner and interstitial ads)?

    In my test app, I only put one line of code, and it worked: when"myadButtton" is touched --> preload interstitial

    --> show interstitial

    The next thing I would try is to use the verified working AdMob Ad ID in your original app. In the past, I have had 'bad' ad IDs and creating a new one fixed the issue.

    At least you know the process works

  • My pleasure - once you get it all going you will realize just how simple a process it is. Something's out of whack someplace.

  • Hello,

    The fact that the game is not published will not affect whether ads are served to the game or not. Ads should serve.

    Yes, just create a new Ad Unit of type 'interstitial'.

    You dont have to link the ad unit to the game immediately. In fact, you dont have to link it at all. Thats a feature more for your convenience and not required.

    Good luck!

  • Great! I will take a look tonight

  • If I were you, Id create a very basic 'Test App' and see if you can get Ads to show in that. Perhaps an app with one button and when you click it, show an interstitial. First, create a new Admob ID etc to use in the test app.

    Something is whacked out someplace.

  • Weird - that's exactly what I have.

  • JLH1964, I'm trying the sound test now, but yes, I did choose 'Interstitial' when creating an Ad ID? Also, what do you mean by, "in XDK, you did insert the admob plugin?" I showed you how I inserted the Admob plugin in pic on the first page. To insert it, all I did was go to third-party plugins, then I clicked on "Get plugin from the Web"/Add a Cordova Plugin from the Web , then I "inserted" the Admob plugin by simply pasting "com.cranberrygame.phonegap.plugin.ad.admob" into the 'Plugin ID' space. Is that the correct way to insert the plugin?

    In XDK, enter the following information to import the needed admob plugin (in C2 after build 182).

    (1) Name: admob

    (2) Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob

    (3) Repo URL: github.com/cranberrygame/com.cranberrygame.phonegap.plugin.ad.admob

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey JLH1964, I just tried it with "Test Mode" = False, and on a device (my Android v4.0.4 / GT=S7560M), and it still won't show up;( Will it simply not shows up on older devices like mine?

    Are you sure your ad trigger is working? I'd probably temporarily play a sound when 'counter >= 7', just to be sure your logic is working. If you hear the sound, then you know its your Admob setup that's an issue - not your C2 logic.

    In admob, you did choose 'interstitial' when creating an ad ID # - correct?

    Also, in XDK, you did insert the admob plugin?

  • At this point the only possible problem is the code.

    Try to do a simple "on start of layout show interstitial"

    Id recommend you don't. Google bans apps (and accounts) that show an ad instantly on launch. You can 'pre load' but not launch. The user has to interact in some manner before a 'legal' ad display.

    Im also assuming the author is ready to list the app (its completed)? If not, then yes, use test ads.