unity ads how to add ads to project code example
Example: unity ads tutorial
using UnityEngine;
using UnityEngine.Advertisements;
public class InitializeAdsScript : MonoBehaviour {
string gameId = "1234567";
bool testMode = true;
void Start () {
Advertisement.Initialize (gameId, testMode);
}
}