(Finished) How do I export to android with admob ads

0 favourites
  • 14 posts
From the Asset Store
StartApp Ads
$11.99 USD
[ C2 ] [ C3 ] support C3 build service | You can use Banner Ads, Interstitial Ads and Video Reward Ads.
  • Hi,

    So I followed the scirra tutorial on admob ads, I turn test mode off, I export it with cordova, I make a project inside Intel XDK, I close the program, I reopen the project (This is the only way I know to make Intel XDK show the plugins tab...) and added the plugin. I build the game and... nothing.

    Do you guys have any idea on what I could've done wrong?

  • Hi,

    So I followed the scirra tutorial on admob ads, I turn test mode off, I export it with cordova, I make a project inside Intel XDK, I close the program, I reopen the project (This is the only way I know to make Intel XDK show the plugins tab...) and added the plugin. I build the game and... nothing.

    Do you guys have any idea on what I could've done wrong?

    WHAT IS YOUR PROBLEM? DONT LET THE TEST MODE OFF IF YOU ARE GOING TO TEST OR YOU WILL HAVE YOUR ACCOUNT BANNED! the ads only appear in a android device, and install the intel xdk plugin for admob

  • > Hi,

    >

    > So I followed the scirra tutorial on admob ads, I turn test mode off, I export it with cordova, I make a project inside Intel XDK, I close the program, I reopen the project (This is the only way I know to make Intel XDK show the plugins tab...) and added the plugin. I build the game and... nothing.

    >

    > Do you guys have any idea on what I could've done wrong?

    >

    WHAT IS YOUR PROBLEM? DONT LET THE TEST MODE OFF IF YOU ARE GOING TO TEST OR YOU WILL HAVE YOUR ACCOUNT BANNED! the ads only appear in a android device, and install the intel xdk plugin for admob

    Sorry, I forgot to close this topic =D

    The plugin I used didn't work, but now I found one that does.

  • >

    > > Hi,

    > >

    > > So I followed the scirra tutorial on admob ads, I turn test mode off, I export it with cordova, I make a project inside Intel XDK, I close the program, I reopen the project (This is the only way I know to make Intel XDK show the plugins tab...) and added the plugin. I build the game and... nothing.

    > >

    > > Do you guys have any idea on what I could've done wrong?

    > >

    >

    > WHAT IS YOUR PROBLEM? DONT LET THE TEST MODE OFF IF YOU ARE GOING TO TEST OR YOU WILL HAVE YOUR ACCOUNT BANNED! the ads only appear in a android device, and install the intel xdk plugin for admob

    >

    Sorry, I forgot to close this topic =D

    The plugin I used didn't work, but now I found one that does.

    no problem

  • Hi. Which one does work? I used cordova-plugin-ad-admob but when I use "simulate" tab no ads are shown (testmode is on).

  • Hi. Which one does work? I used cordova-plugin-ad-admob but when I use "simulate" tab no ads are shown (testmode is on).

    The ads will only be shown only on mobile... (which does make it a real hassle to test the ads...)

    The one I used is this: cordova-plugin-ad-admob tough I haven't released the ad version on Google Play.

  • hmm can someone help me aswell my brain hurts i have tried so many diffrent but any plugin dosnt work..

    and tested the mobile aswell...

    like step by step how to i add it in xdk and build and stuff so the ad will show up

  • gr33n

    Later today i will post how to add admob to intel xdk. I've built about 20 times with same project. Ads show every single time.

    But you just have to make sure your events/actions are correct in your project.

    Be sure to go to admob and get your app ID.

    Oh, i only use cranberrygame plugins. You can get around 80 or so plugins for $10. If you do not have them, Google is your friend.

  • where i get thouse plugins and can u make capax too.. but now somehow with appodeal i got it to show

    but still would like u to explain

  • gr33n

    you can find a couple ways to buy the plugins from here

    As for the capx, how you display the ads is up to you.

    I have 2 different ways:

    1) i have a global variable named GameOver and each time the player dies 1 is added to that GV. When the GV is equal to random(7,9) i show an add.

    2) in my store i have a reward button. When the player clicks on the button an ad displays, and they are rewarded with 3 of my power-ups.

    Now, for the way I add the cranberrygame plugin to Intel XDK:

    I need to mention this 1st > everytime i go to build i delete the previous build. I have had a few problems if i kept an old build in the Intel XDK projects list. It may just be operator error (my fault) but i hate wasting my time. It makes for a few extra steps, but saves me headaches in the long run.

    Exporting from C2 - uncheck minify script > make sure use new Intel XDK project format is checked.

    After opening Intel XDk - in the lower left hand corner click on open an Intel XDK project

    When the project is opening I always have an error box pop up telling me that the cranberrygame-plugin-game-variable is missing. No worries. Just remove and keep going. I will add it later.

    After the project is open - click on Plugin Management. Again, I have had problems with leaving 3rd party plugins as they are. So i delete any plugins i am using in my C2 project (i only use 3 for now).

    Click on Add Plugins to this Project > Third Party Plugins

    Moving from top to bottom:

    click on git repo (1st arrow)

    Click inside box Repo URL (2nd arrow) > copy/paste > https://github.com/cranberrygame/cordova-plugin-ad-admob.git

    Click on Plugin Variables - Enter the required value (3rd arrow) This is where you will enter your AdMob ad unit ID you entered in your C2 project.

    Click Add Plugin and you're done. And always make sure Test Mode is set to Yes in AdMob properties in C2 when you are only testing.

    Switch it to No when you go live.

    *Forgot to mention, I am using the latest version of Intel XDK 3759

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hey thank you so much, but can u spesify what plugin u use or i dont need admob plugin but i think i need cause then i would not make the game over ad show.. well u should make a tutorial here cause i think im not only one who has problems nowadays ads are spoken so less here...

    ty will try

  • i use cranberrygame plugins

    Easy. it does take a bit for him to send the link to get the plugins, but $10 for 70, 80 plugins!? Deal

  • well tyy works good but i have question about the banner ar inter ads

    when i add the git plugin and add 1 banner or inter ad unit id how i add like another cause i could not click 2 times add variable

    or how i implament them both..

    oh i tried to edit xdk and then got both work same time ty

  • Hi

    Anyone tested this in iOS ?

    Regards

    Flemming

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