So an ad doesnt pop up but it says ‘UnityAdsEditor: Initialize(1046862,True’ in the console.
how to I get an ad to appear?
using UnityEngine;
using System.Collections;
using UnityEngine.Advertisements;
public class ShowAds : MonoBehaviour
{
void Start()
{
StartCoroutine(ShowAdvert());
}
IEnumerator ShowAdvert()
{
if (Advertisement.IsReady ())
{
yield return new WaitForSeconds(3);
Advertisement.Show ();
}
}
}