- Home /
Everyplay GameAds?
Hi guys, I have a game that I figured needed a free version on Google Play, and I wanted to add a banner running ads or something of the sort. I came up to this UnityAds thing, supposedly Unity purchased these guys. However, reading the documentation I have absolutely no idea how to implement them.
All it gives me is a bunch of delegates and I have no clue what parameters they take, if any. Has anyone use this before? And if yes, could you give me an example code?
Answer by trinta · Sep 13, 2014 at 05:16 AM
There's a simple sample here: https://unityads.unity3d.com/help/Documentation%20for%20Publishers/Integration%20Guide%20for%20Unity%20Asset%20Store
Mainly it's very simple to show ads with Unity Ads:
Sign up at unityads.unity3d.com
Register a game to get a game ID
Call Advertisement.Initialize in your game with your game ID
Whenever you want to show an ad, just simply call Advertisement.Show
That's of course the simplified version, you should also call Advertisement.IsReady before trying to show an ad.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Making a bubble level (not a game but work tool) 1 Answer
An OS design issue: File types associated with their appropriate programs 1 Answer
Ad not showing up in test mode 0 Answers