I am working on adding unity advertisements to my android game. I am following a out dated unity tutorial by unity.
My problem is that when i want to get "unity's 2D test ads on android" they don't show up on computer or Remote 5
What is my code :
using System.Collections;
using UnityEngine;
using UnityEngine.Advertisements;
public class AdManager : MonoBehaviour
{
IEnumerator Start()
{
Advertisement.Initialize("xxxxxxx", true);
while(!Advertisement.IsReady())
yield return null;
Advertisement.Show();
}
}
EDIT: By further inspection i think the fault partially might be because of the outdated video.