- Home /
How to add AdMob into unity game?
Hello,
Does anybody know how to integrate addmobs into android unity game?
Thanks in advance, Max
Hey Josh, i've went over this too many times and i keep gettting command line 4 error... All i want it for the ads to be displayed! This is so much easier when doing websites!
Have you try https://github.com/unity-plugins/Unity-Admob ?
Answer by Loius · Jul 07, 2014 at 04:06 PM
Have you tried and tested that? Are you 100% its working?
Forgot to add thankyou for your comment! its been a long day!
I imported it, put the one prefab in my scene, filled out my App ID (in the format ca-app-pub-#/#), and it's running ads as expected. Pretty simple, very happy with it.
Okay i've gave it a shot, how did you get the ad showing in your game? I attached 'admobplugin' to my main camera but nothings come up? How did you get them to show mate?
I imported it, put the one prefab in my scene, filled out my App ID (in the format ca-app-pub-#/#), and it's running ads as expected. Pretty simple, very happy with it.
You do have to have your application signed up with Ad$$anonymous$$ob (that's how you get the ca-app-pub number). I didn't need the apk to be signed in test mode; I don't remember if I tried an unsigned apk with release mode. That's honestly all I did. There are some debugging options that come with it, you should take advantage of them (-Debug and -$$anonymous$$ockup scripts in the folder that belongs to the plugin).
I've attached a screenshot of my inspector in case I forgot a setting change.