Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

Help displaying ads

$
0
0
Hello, I got this weird problem with displaying the unity ads. I have a simple c# script with a method to display an ad using UnityEngine; using UnityEngine.Advertisements; public class DisplayAd : MonoBehaviour { public void ShowAd() { Debug.Log("showing ad"); Advertisement.Show(); } } Then I have a button in my scene that calls that method when it is clicked. However, when I click it, nothing happens. I'm currently running the latest version of Unity (2017.1.03f). I tried downgrading to see if that would work, but nothing changed. No editor settings have been changed, they are all default. I did import the unity ads package from the asset store since the built in service didn't seem to be working (couldn't reference UnityEngine.Advertisements). That's about all the info I can think of. Thanks for reading and helping!

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>