I’m new to mobile and Unity development, and I want to start a project of making mobile games for iOS and Andriod. I’m trying to figure out wich option would suit best my needs, and Unity is clearly a great one with the power and simplicity that it offers.
The thing is that I want to make money from this games by using ads.
I want to know if the implementation of these ads is posible in Unity, before choosing it to develop.
Hi
Unity also provide wrapper for AdBannerView Objective C.
You can easily use Unity’s AbBannerView to implement iad in your ios app.See code below.
Attach this script to empty game object in screen and you are ready to go and earn.
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class ads : MonoBehaviour {
private ADBannerView banner = null;
// Use this for initialization
void Start () {
banner = new ADBannerView(ADBannerView.Type.Banner, ADBannerView.Layout.Top);
ADBannerView.onBannerWasClicked += OnBannerClicked;
ADBannerView.onBannerWasLoaded += OnBannerLoaded;
}
// Update is called once per frame
void Update () {
hideBannerIfNotLoaded();
}
void OnBannerClicked()
{
Debug.Log("Clicked!
i tried the starapplication’s solution they offer a great revenue its about $105 eCPM, in the begining they offered 6 monetisation tools but now there are only three because of the google policy, i advice u to try it! they are realy correct in paiement and they are doin a really good job good luck