Quantcast
Viewing all articles
Browse latest Browse all 1416

Unity ads showing in editor but not on android

So I apologize if this has been asked many times before. I tried searching these posts, but I keep getting an "internal server error". And searching for it through google only comes up with old posts which don't seem to be applicable to the most recent ads implementation. I have a simple script which is using UnityEngine; using UnityEngine.Advertisements; public class Ads : MonoBehaviour { void Start () { if (Advertisement.isSupported) { Advertisement.Initialize ("#######", false); } } public void ShowAd () { if (Advertisement.IsReady()) { Advertisement.Show (); } } } And it seems to work fine in the editor. I get this to pup up. ![alt text][1] But when I run it on an android device. It never pops up. Am I missing something? Thanks! [1]: /storage/temp/67902-adsa.png

Viewing all articles
Browse latest Browse all 1416

Trending Articles