- Home /
Question by
milad440550 · Nov 15, 2018 at 03:33 PM ·
androidunity 2dandroid buildadvertising
Advertisement.IsReady return false on mobile phone
Advertisement works on editor, it says "Everything seems to be working", but in phone Advertisement.isReady returns false, Advertisement.isSupported also returns false.
PLEASE HELP!!!!
{ private const string GooglePlayGameID = "2661069";
private void Start () {
Advertisement.Initialize (GooglePlayGameID);
}
public void ShowAd () { //It's set to a button
if (Advertisement.IsReady (rewardedVideo)) //here returns false
{
Advertisement.Show (typeOfAd, new ShowOptions () {
resultCallback = HandleAdResult
});
}
}
Advertisement.IsReady(); => returns false Advertisement.isInitialized; => returns true Advertisement.isSupported; => returns false
Comment
Your answer
Follow this Question
Related Questions
Google Admob (V.6.1.2) crashing Android game on device built with Unity 2020.3.19 1 Answer
ClassNotFoundException: com.unity.ads.IUnityAdsShowListener 1 Answer
After i added proguard codes, I cannot connect to Google Play Service 0 Answers
I have this problem when I restart my game in Unity, bunch of gameObject spawns at once 1 Answer