- Home /
 
               Question by 
               prafull2001 · Nov 28, 2017 at 02:52 PM · 
                iphoneadsappstore  
              
 
              Ads Showing Only in Editor
Hi all,
I'm trying to implement Unity Ads on my game that I'm planning on deploying on iOS, but for some reason they are only appearing in the editor (where it says "Everything Seems to be Working!") but every time I build to my iPhone 5s, the ads don't pop up.
Here is my code:
 static int loadCount = 0;
  
     void Start()
     {
         if (loadCount % 3 == 0)  // only show ad every third time
         {
             ShowAd ();
         }
         loadCount++;
     }
  
     public void ShowAd()
     {
         if (Advertisement.IsReady())
         {
             Advertisement.Show();
         }
     }
Any help is appreciated!
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to solve ITMS-90809: Deprecated API Usage? 0 Answers
Issue with ads on iPhone 6 and 6+ 0 Answers
Using MoPub and ad systems 0 Answers
Prevent ad from pausing game (UnityAds) 1 Answer
How long does it take for the AppStore to review an app? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                