Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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 Blade666 · Sep 29, 2015 at 08:14 PM · c#androidunity 5ads

Unity ads are working in editor but not on android device

The ads are not appearing when called but in editor it works here is my code if anyone could help it would be much appreciated using UnityEngine; using System.Collections; using UnityEngine.Advertisements;

 public class SimpleAds : MonoBehaviour 
 {
     void Start () 
     {
         Advertisement.Initialize ("gameid");
         
         StartCoroutine (ShowAdWhenReady());
     }
     
     IEnumerator ShowAdWhenReady()
     {
         while (!Advertisement.isReady())
             yield return null;
         
         Advertisement.Show ();
     }
 } 
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by RChrispy · Sep 30, 2015 at 07:32 AM

For me it seems to be fine. Maybe you have not fast internet on your mobile? Are you in w-lan? And do other apps ( like crossy road ) show you adds?

Edit 2: Try this step by step guide: https://www.youtube.com/watch?v=pKRUNly4RRM

Maybe your backend settings of unity adds are wrong setup.

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 Blade666 · Sep 30, 2015 at 05:40 PM 0
Share

i published my app on the play store and people at my school dont get them either and when they are at home as well and other apps show ads i dont see why they dont if you want to see if they work on your phone type annoying plane in on play store and the ads should pop up as soon as you load the main menu @Dev6_RC

avatar image RChrispy · Oct 01, 2015 at 08:59 AM 0
Share

Did you setup all backend right? I mean in the editor there is only the test screen who does not need the add ids ans everything!

Her is a step by step guide try to repeat it maybe you forgott something: http://developer.fyber.com/content/current/ios/rewarded-video/adding-networks/unity_ads/

avatar image
0

Answer by deekan142 · Feb 20, 2017 at 09:40 AM

The Advertisement.Initialize ("gameid"); requires a second Parameter, it's true or false. true means it's for development mode false means for release for public.

Try Advertisement.Initialize ("gameid", false);

Comment
Add comment · Show 1 · 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 saadjumani · Apr 28, 2021 at 11:43 AM 0
Share

Do NOT mark it false when testing. This can get you banned from the platform.

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

6 People are following this question.

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

Related Questions

Chartboost adds are not showing up on android 0 Answers

Android build misbehaving. 1 Answer

UnityAds only showing test mode ads and no statistics 1 Answer

How to take input from the fingerprint sensor,which is now becoming a part of more or less every android device???? 1 Answer

How to destroy a particular clone on touch/mouse? 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