origamestudio / admob-unity-plugin Goto Github PK
View Code? Open in Web Editor NEW:space_invader: An extension for Unity3d to place AdMob banners in your Android games.
:space_invader: An extension for Unity3d to place AdMob banners in your Android games.
This is great Plug-In! Easy to start and great work! But how I could load and show the Interstitial AdMob?
Hi
press android home key when playing game,
the game must be paused and
when back to the game it have to running before pressed home key.
but add this plug-in to game.
the game is always restarting as new game.
please check this bug
hi there,
Im using this great prefab but im now facing a big issue!
that is whenever i hide ads, and it shows up after couple secs. like when it load a new ad, and then it shows automatically. of course i can switch it off when i trigger the hide function but it still buzz me everytime. how can i set it invisible only show when i turn it on?
thanks
I followed the instructions - gave the publisher id, made sure test id and guess device id were checked. Built and installed and i get this error. Next I got the device id (wasn't sure, used DeviceId by redphx on play store) and used it but get the same error. Help?
This plugin does not work with the last Google Play Services version that is now including admob sdk.
Reference:
https://developers.google.com/mobile-ads-sdk/docs/admob/android/play-migration
I will perform the upgrade.
Nevermind, figured it out.
Does this Plugin support admob interstitial ads ?. I am already using this plugin and i want to add interstitial full screen ads as well.
Hi, I am not sure but I have some issues. Only the smartbanner is working on my android but the others does not show. There is a notice:
Banner: ".. request successful, but no ad returned due to lack of ad invento.."
Same to IAB_MRECT, IAB_BANNER
IAB_LEADERBOARD: Invalid Ad Request.
On my computer it does show everything.
This was just with the test scene which is in the package ( admob id changed )
I'm using the plugin in a game where banner ad isn't shown in certain menus and making in app purchases disables ads for good.
I've set the refresh interval to 30 seconds and the ads keep on popping up even though I've called Hide().
I've added StopCoroutine("Refresh") inside the Hide() function but the ad still keeps on becoming visible. Any help?
Hello,
I added the prefab to my scene, attached the scripts, and the mockup banner is showing OK. But when I built the app and deploy on phone, nothing is showing. I added my admob app id to the prefab. Also in debug mode using the debug script only the mockup ads are showing, real ones don't show.
What could be wrong? Does it matter what are the coordinates of the prefab in the scene?
I integrate this libs and success in showing the adv in a banner, but when I try to click that banner, nothing happen. It seem the banner cannot detect touch event
Please fix its because it will leak so many money from developer
I am facing an issue "Unable to convert classes into dex format". Log as follows,
Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/prakash/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/Unity4.6.2p2.app/Contents/BuildTargetTools/AndroidPlayer/sdktools.jar" -
stderr[
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdSize;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
at com.android.dx.command.dexer.Main.processClass(Main.java:732)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
at com.android.dx.command.dexer.Main.access$300(Main.java:83)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:632)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at com.android.dx.command.dexer.Main.main(Main.java:215)
at com.android.dx.command.Main.main(Main.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at SDKMain.main(SDKMain.java:130)
1 error; aborting
]
stdout[
processing archive bin/classes.jar...
processing com/unity3d/player/a$1.class...
processing com/unity3d/player/a$2.class...
processing com/unity3d/player/a$a.class...
processing com/unity3d/player/a.class...
processing com/unity3d/player/b.class...
processing com/unity3d/player/c$1.class...
processing com/unity3d/player/c$2.class...
processing com/unity3d/player/c.class...
processing com/unity3d/player/d.class...
processing com/unity3d/player/e$1.class...
processing com/unity3d/player/e$2.class...
---------goes on and on.....
We are using unity4.6.2p2, google admob from this http://forum.unity3d.com/threads/free-admob-plugin-simple-prefab.167731/page-2",
Plugins we are using in this projects are,
Google play services
Facebook
Soomla
AdMob[this one]
Thanks in advance!
How to show Interstitial Ad? It's full screen ad: https://developers.google.com/mobile-ads-sdk/docs/admob/advanced?hl=us-en#play
I select "IAB_MRECT" and its size is big, but doesn't show close button.
Hello in publisher Id column we need to enter new ad id from admob or use publisher id .
if it will be publisher id then how can different ads be distinguished.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.