Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Admob Unity Plug-in use Google Play Services, support Interstitial

Discussion in 'Android' started by VNTIS, Mar 24, 2014.

?

Interest plug-in?

  1. yes

    177 vote(s)
    95.7%
  2. no

    8 vote(s)
    4.3%
  1. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    contact me: taquangtien92@gmail.com, i will support via teamviewer
     
  2. Redsun-pro

    Redsun-pro

    Joined:
    Nov 29, 2013
    Posts:
    6
    Hello VNTIS !

    your plugin looks interesting, i have already admob banner in my project i want add Intertitial ads unising your plugin.

    i have one question :

    you mentioned that Unity version must be 4.3 do you know if it works on Unity 4.1 ? if not, there is a solution for this except Updating unity.

    thank you
     
    Last edited: May 13, 2014
  3. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    I havent try in Unity 4.1, but it should work :). If it doesnt work, may be it conflict with your current banner plug-in.
    My plug-in support banner too, just use it.
     
  4. DalerHakimov

    DalerHakimov

    Joined:
    Mar 14, 2014
    Posts:
    302
    how about to give it for free?) if you are not able to sell it anymore
     
  5. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    im till selling via Email and Paypal. A lot people have bought it, its not fair for them if i share it for free.
     
  6. Yosry

    Yosry

    Joined:
    Dec 27, 2013
    Posts:
    13
    Hello VNTIS !
    your plugin looks interesting, Do you accept MoneyBooker ?
     
  7. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    unfortunately, i dont.

    New version 2.0 has arrived. Its easier to intergrate admob ads now. No more banner toast.
     
  8. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    Update 2.1
    Remove unnecessary permission READ_PHONE_STATE, thanks to Etorki Games who find this :)
     
  9. cursed1cursed1

    cursed1cursed1

    Joined:
    Jun 30, 2013
    Posts:
    18
    hi how to remove " ad showing " text ?
     
  10. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    use the lastest version! (only banner is free, a toast till coming up with interstitial and you have to buy to remove toast)
     
  11. Herhangi

    Herhangi

    Joined:
    Mar 23, 2013
    Posts:
    7
    Hello VNTIS,
    I have just installed your plugin into my project tested on some devices and posted on Google Play. However, first my friends discovered that there was a problem on S3 Mini, then some reports came from Google Play, that makes app crash.

    I start ads after user dies and remove it when game started again. It crashes when I try to start ads. This is how do I start ad:

    And this is the crash report:
     
  12. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    hi Herhangi,

    is it happen to any other devices? what android version of the S3 Mini?
     
  13. Herhangi

    Herhangi

    Joined:
    Mar 23, 2013
    Posts:
    7
    Hello again,
    So far devices that have sent bug report are S3 mini and N9520 as seen in Google Play both are Android 4.1. Thanks by now ;)
     
  14. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    try:
    - place this file (in the zip) in \Assets\Plugins\Android
    - remove the current vntis.admob.vn.xxx.jar
     

    Attached Files:

  15. wana7262

    wana7262

    Joined:
    Jul 2, 2012
    Posts:
    101
    how can i set position of banner? its at top by default
     
  16. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    in the tutorial
    example: set banner at center bottom
    $Snapshot_2014-05-31_222340.png
     
  17. wana7262

    wana7262

    Joined:
    Jul 2, 2012
    Posts:
    101
    Thank you for a quick reply :)
     
  18. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    you're welcome! :p
     
  19. Herhangi

    Herhangi

    Joined:
    Mar 23, 2013
    Posts:
    7
    Hello again VNTIS,
    Sorry that I am replying late, i am on holiday :)
    The .jar file you have sent is working quite well as my friend tested and reported to me.
    We are thinking to get PRO version. Thanks for your quick support.
    Just one quick question;
    Should i send Google Play with this test .jar or will you make a release soon?
    Thanks, keep up good work :)
     
  20. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    Thanks you. If you dont want to get the PRO version yet, just use the test.jar. Otherwise, i will release the 2.2 version bug fixed ASAP. Give me 1day :)

    Edited: 2.2 released
     
    Last edited: May 31, 2014
  21. gu2ta

    gu2ta

    Joined:
    Jun 5, 2014
    Posts:
    2
    Great plugin VNTIS, you saved me!
    What happens to me is that depending on the device may be the Medium Rectangle higher pixels.
    How do I get the size Medium Rectangle?
    According say the size is 300x250, but on some devices (high in inches) the actual size (in inches) is the same.
    For example, in a Galaxy S1 (4 inches) and a Galaxy S4 (5 inches) is identical Rectangle Medium size.

    Thank you
     
  22. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    According to this, https://developers.google.com/mobile-ads-sdk/docs/admob/intermediate
    Except SMART_BANNER, others have fixed size include MEDIUM_RECTANGLE.



    this is MEDIUM_RECTANGLE in my devices. the tablet has res 1280x800, phone 800x480. Ad size is fixed.
     
  23. gu2ta

    gu2ta

    Joined:
    Jun 5, 2014
    Posts:
    2




    On the phone with resolution 800x480 Medium Rectangle size is larger than 320x250. (equal to mine)
    My idea is to add a button on the right vertex of advertising.
    Thanks.
     
  24. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    58
  25. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
  26. Jack.ath

    Jack.ath

    Joined:
    Jun 11, 2014
    Posts:
    3
    Hi guys,
    I am new in Unity and I'm having a problem with the plugin. I can not use the methods isInterstitialLoaded(), displayInterstitial() and loadInterstitial(). Why is that? There are available only in pro?
     
  27. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    use version 2.2. there only 1 medthod you need to call
     
  28. Jack.ath

    Jack.ath

    Joined:
    Jun 11, 2014
    Posts:
    3
    Thanks for the reply VNTIS,
    Oh...ok then. You see my problem is that I want the Interstitial ad to be ready to show it on click instantly. In my case the ad take some to show up about 5 to 7 seconds.
     
  29. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    To make my plug-in easier to use, i've removed all other methods since 2.0 version. So, requesting and showing ad are all in 1 method.

    If you want to deal with interstitial load and show, try version 1.1 :)
     
    Last edited: Jun 11, 2014
  30. Jack.ath

    Jack.ath

    Joined:
    Jun 11, 2014
    Posts:
    3
    Ok then I will try it out then and I'll let you know. Thanks again you are the best :-D .
     
  31. VIPINSIRWANI

    VIPINSIRWANI

    Joined:
    Apr 3, 2013
    Posts:
    2
    Everything is working fine but its taking more time to show Interstitial AD can i solve this issue.
     
  32. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
     
  33. frankrs

    frankrs

    Joined:
    Aug 29, 2009
    Posts:
    300
    I read that you have to be selected or "whitelisted" in order to use Interstitial ADs in AdMob. Is this the case?
     
  34. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    im just a normal dev :)
     
  35. frankrs

    frankrs

    Joined:
    Aug 29, 2009
    Posts:
    300
  36. VNTIS

    VNTIS

    Joined:
    Mar 24, 2014
    Posts:
    92
    frankrs likes this.
  37. frankrs

    frankrs

    Joined:
    Aug 29, 2009
    Posts:
    300
    Thanks VNTIS, thats great to know! Do you know how do they compare to Chartboost as far as how much they pay out? Sorry for all the questions there are so many ad services its confusing to decide on which one to go with
     
  38. aixaix

    aixaix

    Joined:
    May 7, 2010
    Posts:
    523
    Getting this error when trying to compile... any idea?

    Code (csharp):
    1. Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
    2. C:\Program Files (x86)\Java\jre7\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/AndroidSDK/sdk\tools" -Dfile.encoding=UTF8 -jar "C:/Program Files (x86)/Unity/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -
     
    DuySpy likes this.
  39. renezuidhof

    renezuidhof

    Joined:
    Oct 25, 2013
    Posts:
    3
    Thank you very much! I was trying to use the default Google admob plugin but i could not get it to work. Now with your plugin it works! :D

    Check it out on my game, Getting Ducky (don't expect an amazing game ;)). Uploaded my new version just now so i guess the ads will be there in a few hours.
     
  40. pstreef

    pstreef

    Joined:
    Feb 12, 2014
    Posts:
    4
    This looks great! I hope it works together with the play-games-plugin-for-unity, so far I have not been able to find and correctly isntall a plugin that does. I will let you know how it goes later this weekend!
     
  41. Monsterlander

    Monsterlander

    Joined:
    Jul 22, 2013
    Posts:
    8
    Hi VNTIS - thanks a lot for this plugin, it helped me resolve a problem I had with the other admob plugin and google play. It seems to be working a treat.

    Am I right in thinking the free version is OK to use for banners, but you have to pay $10 for interstitials? I don't plan to use them at this stage, but I will chuck you $10 anyway because you saved me a lot of bother and geeks have to stick together.

    Would I just paypal you $10 to taquangtien92@gmail.com or is there some other way?

    The game I've stuck it on so far is here: https://play.google.com/store/apps/details?id=com.balloonhead.discolights - a funny little game, but it might just be simple and funky enough to work, who knows :)

    Thanks again!
    Dan
     
  42. pstreef

    pstreef

    Joined:
    Feb 12, 2014
    Posts:
    4
    As per your first post, I indeed can get the plugin to work with play-games-plugin-for-unity! Thanks a bunch!

    I still have to find out how to put it into test mode. I think I have to put my device id into "Test_device_id" but where do i find this ID?

    Next stop is to add in app billing, I'm hoping to use OpenIAB for this. Anyone have any experience with combining these plugins?
     
  43. m.gokhanoguz

    m.gokhanoguz

    Joined:
    May 5, 2014
    Posts:
    2
  44. Alexsanders592

    Alexsanders592

    Joined:
    Oct 8, 2013
    Posts:
    3
  45. scribbledoo

    scribbledoo

    Joined:
    May 19, 2014
    Posts:
    8
    Ok my impressions are going up, but I'm not seeing revenue, is that because I published it with test device id as 1? Should I reupload it with it set as nothing?

    This is what it was yesterday:
    6/24/2014
    230
    230
    100.00%
    0
    0.00%
    $0.00
    $0.00
    $0.00
     
    Last edited: Jun 25, 2014
  46. pstreef

    pstreef

    Joined:
    Feb 12, 2014
    Posts:
    4
    @scribbledoo
    I believe that means your users see test ads. You should turn that off.

    Also: Is there a way to catch signals like onInterstitialLoaded and onInterstitalClosed? I want to pause my game on interstitial but I have no way of knowing when to resume. Even an isLoaded/isVisible bool would be useful, then I would just handle it in update.
     
  47. scribbledoo

    scribbledoo

    Joined:
    May 19, 2014
    Posts:
    8
    Idk, it's actually working fine now. I think it was just because I had 0 clicks. Now that i'm getting clicks the revenue is going up.
     
  48. pstreef

    pstreef

    Joined:
    Feb 12, 2014
    Posts:
    4
    Good to hear it's working. I too have found that interstitials pause the game by itself, problem is that it takes some time to load while the game keeps running, I would like to time the pause myself. Will keep it like this for now though, if anyone knows how to catch a on close clicked signal for the interstital i'd love to know!
     
  49. hungxd2992

    hungxd2992

    Joined:
    Jan 20, 2014
    Posts:
    1
    Xóa quả Toast ở lúc show Interstital "Ads Unity by VNTIS" kiểu gì bạn nhỉ :)
     
  50. GhulamJewel

    GhulamJewel

    Joined:
    May 23, 2014
    Posts:
    351
    Quick question what is a toast interstitial? Does the interstitial still work?