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 gaz99 · Jun 04, 2014 at 12:55 AM · adsbannerrevmob

Revmob Banner Ads not clickable

Hi,

I have implemented revmob ads into my game and the banners are showing up fine, however they are not clickable and i can't find a reason why.

Fullscreen ads work fine and redirect when clicked but banners don't. Here is my android manifest. Also the gameobject the script is attached to is the highest on the sorting order/layer. Any help would be appreciated thanks.

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.revmob" android:versionName="1.0" android:versionCode="1">
   <uses-permission android:name="android.permission.INTERNET"/>
   <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
   <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">
     <activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
       <intent-filter>
         <action android:name="android.intent.action.MAIN" />
         <category android:name="android.intent.category.LAUNCHER" />
       </intent-filter>
       <!-- If you are using Unity 4.3 or above, leave this flag here -->
       <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
     </activity>
     <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
     </activity>
     <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
       <meta-data android:name="android.app.lib_name" android:value="unity" />
       <!-- If you are using Unity 4.2.2 or below, uncomment this flag and comment the other one -->
       <!--<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />-->
     </activity>
     <activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
     </activity>
     <activity
         android:name="com.revmob.ads.fullscreen.FullscreenActivity"
         android:theme="@android:style/Theme.Translucent"
         android:configChanges="keyboardHidden|orientation" >
     </activity>
   </application>
   <uses-feature android:glEsVersion="0x00010001" />
   <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15" />
 </manifest>enter code here
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 TheDarkSpeaker · Jul 01, 2014 at 11:16 PM 0
Share

Same Problem. . .

avatar image kiempoturner · Sep 10, 2014 at 02:23 PM 0
Share

i have a problem making by revmob clickable too, using unity 4.5, any suggestions?

my xml file :

 <?xml version="1.0" encoding="utf-8"?>
                 <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="com.revmob" android:versionName="1.0" android:versionCode="1">
                   <uses-permission android:name="android.permission.INTERNET"/>
                   <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
                   <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">
                     <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
                 <!-- If you are using Unity 4.5 or above, leave this flag here -->
                  
                     <activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
                       <intent-filter>
                         <action android:name="android.intent.action.$$anonymous$$AIN" />
                         <category android:name="android.intent.category.LAUNCHER" />
                       </intent-filter>
                       <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
                       <!-- If you are using Unity 4.3 or above, uncomment this flag here -->
                       <!-- <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" /> -->
                     </activity>
                     <activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
                     </activity>
                     <activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
                       <meta-data android:name="android.app.lib_name" android:value="unity" />
                       <!-- If you are using Unity 4.2.2 or below, uncomment this flag and comment the other one -->
                       <!--<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />-->
                     </activity>
                     <activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize">
                     </activity>
                     <activity
                         android:name="com.revmob.ads.fullscreen.FullscreenActivity"
                         android:configChanges="keyboardHidden|orientation" >
                     </activity>
                   </application>
                   <uses-feature android:glEsVersion="0x00010001" />
                   <uses-sdk android:$$anonymous$$SdkVersion="8" android:targetSdkVersion="16" />
                 </manifest>

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Ferb · Jul 13, 2014 at 04:22 PM

I've had this problem too. The Revmob banner ads worked while I was using Unity 4.3, but they stopped working when I updated to Unity 4.5, which I assume is what you're using.

Just follow the instructions they've put in the comments in the manifest file as if you were using Unity 4.2.2 or below (in other words, have the 'ForwardNativeEventsToDalvik' line in the UnityPlayerNativeActivity section instead of the UnityPlayerProxyActivity section), and I think it should work fine - that's what worked for me anyway. (I've already written to Revmob to suggest updating their documentation.)

I'd also suggest that if you upgrade Unity at some point, make sure your ads still work, and if not, the first thing to try will be to try moving the 'ForwardNativeEventsToDalvik' to a different section.

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
avatar image
0

Answer by ihsanberahim · Sep 12, 2014 at 05:13 AM

i got it! Compare my androidmanifest with yours

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0">
     <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" />
     
     <!-- Mandatory permission -->
     <uses-permission android:name="android.permission.INTERNET" />
 
        <!-- Optional, but without them, you might get less ads and tracking could be less accurate -->
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
     
     <application
         android:icon="@drawable/app_icon"
         android:label="@string/app_name">
         <activity android:name="com.unity3d.player.UnityPlayerProxyActivity"
                   android:label="@string/app_name"
                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
             <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
         </activity>
         <activity android:name="com.unity3d.player.UnityPlayerActivity"
                   android:label="@string/app_name"
                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
         </activity>
         <activity android:name="com.unity3d.player.UnityPlayerNativeActivity"
                   android:label="@string/app_name"
                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
             <meta-data android:name="android.app.lib_name" android:value="unity" />
             <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
         </activity>
         <activity android:name="com.unity3d.player.VideoPlayer"
                   android:label="@string/app_name"
                   android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen">
         </activity>
         <activity android:name="com.purplebrain.adbuddiz.sdk.AdBuddizActivity"
                   android:theme="@android:style/Theme.Translucent" />
         
     </application>
 
 </manifest>
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

26 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

Related Questions

What is the size of Unity Banner Ad? 4 Answers

RevMob iOS ads not showing 1 Answer

Please anyone know about ads banners.. how do we implement in the unity3d free version... 1 Answer

Android Banner disappears after touching the screen 2 Answers

Revmob Unity SDK - How to make banner ads stay in portrait mode? 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