G
G
greedile2021-08-16 13:30:09
Unity
greedile, 2021-08-16 13:30:09

Unity Ads not working, how to fix?

I'm using Unity 2020.3.15f2, connected Unity Ads, and wrote a small script:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;

public class AdManager : MonoBehaviour
{
    public void Start()
    {
        if (Advertisement.isSupported)
        {
            Advertisement.Show("video");
        }
    }
}

I am connected to the Internet and have completed all the necessary actions in the Dashboard. But nothing works, what is the reason?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question