UnityAdsEditor: Initialize("ID", False); UnityEditor.Advertisements.UnityAdsEditor:EditorOnLoad()

Hello! :smiley:

I have a problem with unity ads there is always the same error:

UnityAdsEditor: Initialize(1236720, False);
UnityEditor.Advertisements.UnityAdsEditor:EditorOnLoad()

I made exactly the unity ads integration tutorial says, i linked my proyect to UnityAds page, i used the same script in the tutorial:

using UnityEngine;
using UnityEngine.Advertisements;


public class UnityAdsExample : MonoBehaviour
{
	public void ShowRewardedAd()
	{
		if (Advertisement.IsReady("rewardedVideo"))
		{
			var options = new ShowOptions { resultCallback = HandleShowResult };
			Advertisement.Show("rewardedVideo", options);
		}
	}

	private void HandleShowResult(ShowResult result)
	{
		switch (result)
		{
		case ShowResult.Finished:
			Debug.Log("The ad was successfully shown.");
			// YOUR CODE TO REWARD THE GAMER
			VariablesJuego.riqueza += 150;  // Give coins etc.
			break;
		case ShowResult.Skipped:
			Debug.Log("The ad was skipped before reaching the end.");
			break;
		case ShowResult.Failed:
			Debug.LogError("The ad failed to be shown.");
			break;
		}
	}
}

but always my ads donā€™t work, can you say me how to fix it? Thanks.

(I know this is an old Question, but this is the first that shows up if you search for it and this would have saved me )
Sooo, I believe if you get ā€œFalseā€ after the ā€œIDā€, it doesnā€™t mean Unity wasnā€™t able to Initialize ads, but it means, that test mode is turned off.
If you get ā€œTrueā€, then it means test mode is turned on.,So, I know itā€™s not a recent ā€œproblemā€, but if someone pastes the "error " to google this is the first page it shows up so I guess I try to help them.
So here ā€œFalseā€ means test mode is disabled.
If that returns True, then it means test mode is enabled, not that the ads are working. (Atleast I belive so)

hi I am facing the same issue if you have have found out any solution kindly revert me back