Ad doesn't appear, writes to console saying 'UnityAdsEditor: Initialize(1046862,True)' Instead?

So an ad doesn’t 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 ();
        }
    }
}

It takes some time for the Unity Ads to initialize. If you’re running the Show() -method right in the beginning - Unity Ads hasn’t had enough time to initialize yet, so the Advertisement.IsReady() will return false until it can deliver ads.

Solution: don’t show ads right in the beginning and perhaps implement a coroutine that waits until the ads are ready, before calling Show()

I assume you’ve integrated Ads through the services window? If so, go to Window → Unity Services → select Ads → set test mode off.

Let me know if this helps.

Kind regards,