Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Radonezhskiy · Jul 23, 2019 at 10:09 PM · videoadsadmob

Video Ads not showing correctly on IOS

Hello!

I've got an annoying problem considering video ads. I've tried different networks and for all video placements (Rewarded and Interstitial) I've got same problem: the Ad shows 1 frame, then disappears, but the ad sound remains. I think It is needed to enable something in Player settings, but I was not able to find what exactly. Banner ads work fine. Currently I am testing Ad Mob. The reward works fine, but the video ad just not displaying correctly.

My Unity version: 2019.1.9f1Personal

platform: IOS

device: iPad mini 2

      void Start()
      {

     AdMobRewardedAd = RewardBasedVideoAd.Instance;
     // Called when an ad request has successfully loaded.
     AdMobRewardedAd.OnAdLoaded += HandleRewardBasedVideoLoaded;
     // Called when an ad request failed to load.
     AdMobRewardedAd.OnAdFailedToLoad += HandleRewardBasedVideoFailedToLoad;
     // Called when an ad is shown.
     AdMobRewardedAd.OnAdOpening += HandleRewardBasedVideoOpened;
     // Called when the ad starts to play.
     AdMobRewardedAd.OnAdStarted += HandleRewardBasedVideoStarted;
     // Called when the user should be rewarded for watching a video.
     AdMobRewardedAd.OnAdRewarded += HandleRewardBasedVideoRewarded;
     // Called when the ad is closed.
     AdMobRewardedAd.OnAdClosed += HandleRewardBasedVideoClosed;
     // Called when the ad click caused the user to leave the application.
     AdMobRewardedAd.OnAdLeavingApplication += HandleRewardBasedVideoLeftApplication;

    // Initialize the Google Mobile Ads SDK.
     MobileAds.Initialize(appId);

     
     this.Load_rewarded_video();

    }

   //============================ Google ad mob Handlers======================

 public void HandleRewardBasedVideoLoaded(object sender, EventArgs args)
 {
     //MonoBehaviour.print("HandleRewardBasedVideoLoaded event received");
 }

 public void HandleRewardBasedVideoFailedToLoad(object sender, AdFailedToLoadEventArgs args)
 {
     Time.timeScale = 1;
     //MonoBehaviour.print(
     //    "HandleRewardBasedVideoFailedToLoad event received with message: "
     //                     + args.Message);
 }

 public void HandleRewardBasedVideoOpened(object sender, EventArgs args)
 {
     //MonoBehaviour.print("HandleRewardBasedVideoOpened event received");
 }

 public void HandleRewardBasedVideoStarted(object sender, EventArgs args)
 {
     //MonoBehaviour.print("HandleRewardBasedVideoStarted event received");
 }

 public void HandleRewardBasedVideoClosed(object sender, EventArgs args)
 {
     //MonoBehaviour.print("HandleRewardBasedVideoClosed event received");
     Time.timeScale = 1;
   
     this.Load_rewarded_video();
    
 }

 public void HandleRewardBasedVideoRewarded(object sender, Reward args)
 {
     Time.timeScale = 1;
     ContinueGameCalculations();
 }

 public void HandleRewardBasedVideoLeftApplication(object sender, EventArgs args)
 {
     //MonoBehaviour.print("HandleRewardBasedVideoLeftApplication event received");
 }


 private void Load_rewarded_video()
 {
 #if UNITY_IOS
     string ad_unit = "ca-app-pub-5759662936416666/3614416666";
 #endif

     AdMobRewardedAd.LoadAd(new AdRequest.Builder().Build(), ad_unit);

 }


Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Radonezhskiy · Jul 25, 2019 at 08:55 AM

[Resolved]

By some reason the very first test ad from Admob shows this way, but the next ones work fine.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image phu2207 · Sep 17, 2019 at 07:14 AM 0
Share

Hello, is the problem still exist? I'm facing this issue, but perhaps it's random on my side, not the very first test.

avatar image Radonezhskiy phu2207 · Nov 07, 2019 at 11:29 PM 0
Share

Hello! I've opened this issue with unity ads: https://answers.unity.com/questions/1676727/unity-advertisements-crash-ios-game.html

Please check The problem still exists for admob and unity ads skd

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

115 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Admob video ad shows only once on the phone ? 1 Answer

admob legacy api can load multiple video ads but new api doesn't ? 0 Answers

Admob rewarded video give more and more reward. Why 3 Answers

Admob Reward video not showing up, but the test ad unit is showing. 2 Answers

admob rewarded video ad dont reward 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges