Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 jonnydjango · Mar 09, 2013 at 03:23 PM · adssdkintegration

RevMob no ads are displaying

I try to integrate RevMob in my Android Project.

http://sdk.revmob.com/unity

this is the official documentation.

If i write (javascript):

 import System.Collections.Generic;
 
 private var APP_IDS = new Dictionary.<String, String>();
 private var revmob:RevMob;
 
 function Awake() {
 // Just replace the ID below with your appID.
 APP_IDS["Android"] = "4f56aa6e3dc441000e005a20";
 APP_IDS["IOS"] = "4fd619388d314b0008000213";
 
 Debug.Log("[RevMob Sample App - JavaScript] Starting Session");
 revmob = RevMob.Start(APP_IDS, "GameObject");
 }
 function Start(){
            revmob.ShowFullscreen();
 }


The logs tell me, that it works, but on my device nothing appears. of coure i´d replaced the default id with mine.

It would be great if someone who did this bevore can help me. The support was only respelling the (poor) documentation.

Cheers Helmut

Comment
Add comment · Show 2
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 StijnVanCoillie · Mar 18, 2013 at 06:13 PM 0
Share

Hello, I've got the same problems with Rev$$anonymous$$ob. Did you find a solution on your own already? I'm stuck on this revmob thing :( Cheers Stijn

avatar image jonnydjango · Mar 19, 2013 at 08:13 PM 0
Share

I tried it a few days and had a lot of contacts with the support, but it won´t work. Very sad. But if it´s true, what some guys talking about revmob (no payouts etc.), it´s maybe better this way. give another ad-service a chance!

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by StijnVanCoillie · Mar 19, 2013 at 08:33 PM

This solved the problem to my RevMob problems. I attached the script to my control gameobject (Doesnt matter with gameobject) But I think its best on the one where you paint all your GUI stuff, because its painting over you GUI.

 #pragma strict
 import System.Collections.Generic;
 
 //revmob
 private var APP_IDS = new Dictionary.<String, String>();
 APP_IDS["Android"] = "App id here";
 APP_IDS["IOS"] = "App id here";
 private var revmob:RevMob;
 
 private var showRev : boolean = false;
 
 function Start ()
 {
     #if (UNITY_IPHONE && !UNITY_EDITOR)
     
     revmob = RevMob.Start(APP_IDS,this.gameObject.name);
 
     #endif
     Debug.Log(this.gameObject.name);
 }
 
 function Update ()
 {
 //this is just a technique I use to activated the RevMob fullscreen
     if(PlayerPrefs.GetInt("revMob"))//
     {
         if(!showRev)
         {
             showRev = true;
             print("Show Add");
 
             #if (UNITY_IPHONE && !UNITY_EDITOR)
 //this activates the actual revmob
             revmob.ShowFullscreen();
             #endif
         }
     }
     else
     {
         showRev = false;
     }
 }
 
 function UserClosedTheAd(adUnitType)
 {
     Debug.Log("Ad closed");
     PlayerPrefs.SetInt("revMob", 0); //set the revMob back to 0
 }

Sorry for my noob english. Hoop this can help you. It did for me, best of luck!

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 jonnydjango · Mar 20, 2013 at 01:49 PM 0
Share

ok, i will try that! thank you!

avatar image Chroniik · May 06, 2014 at 12:09 PM 0
Share

I found out that my problem was when i set up my game in revmob it threw a bad request page but still created the app. once i recreated it and didnt have the page everything was fine.

avatar image
0

Answer by vickygroups · May 06, 2014 at 08:25 PM

don't forget to change the android manifest:

Android Add the required permission in your AndroidManifest.xml file by putting the following code inside the tag.

Add the required RevMob activity in the application node:

 <activity android:name="com.revmob.ads.fullscreen.FullscreenActivity"
           android:theme="@android:style/Theme.Translucent"
           android:configChanges="keyboardHidden|orientation">
 </activity>
Comment
Add comment · 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

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

13 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

Related Questions

Issue with Google Play Services and Chartboost SDK (gradle Android build) 1 Answer

How to remove Admob SDK from Unity? 2 Answers

Heyzap integration 4 Answers

Rewarded video ads Chartboost - Unity 5 1 Answer

Unity ADs SDK? 0 Answers


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