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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by Ekta-Mehta-D · May 13, 2013 at 05:36 AM · pluginadsadvertisingbanner

LeadBolt Ads For Android

I have downloaded sample project demo scene of LeadBolt Ad.

That Scene Works Perfectly and showing LeadBolt Ads In Banner ..

Now for that , Script which i am using has below code :

 using UnityEngine;
 using System.Collections;
 using System.Runtime.InteropServices;
 using System;
 
 public class CallJavaCode : MonoBehaviour {
     void OnGUI ()
     {        
         if (GUI.Button(new Rect (60, 125, 200, 100), "Click to get Ads"))
         {    
         
             AndroidJavaClass jc = new AndroidJavaClass("com.unity3d.player.UnityPlayer"); 
             
             AndroidJavaObject jo = jc.GetStatic<AndroidJavaObject>("currentActivity");
                     
             using(AndroidJavaObject adsClassI = new AndroidJavaObject("com.unity3d.wrapper.i.IWrapper", jo))
             {
                 //988252279 banner
                 //716330258 unlocker
                 //324021230 audio
                 adsClassI.Call("loadLeadboltAds", "988252279", 0);
             }
             
             using(AndroidJavaObject adsClassX = new AndroidJavaObject("com.unity3d.wrapper.x.XWrapper", jo))
             {
                 //932367527 notification
                 //138930168 icon
                 adsClassX.Call("loadLeadboltAds", "138930168", 1);
             }
 
         }
     }
 }

My Problem is that , the code 988252279 which is used for LeadBolt Ad if i write some another code for different ad instead of this code, then its not working.

I don't want to show ad of Leadbolt.. Then what should i need to do?

Please help me and suggest me some solution regarding this issue. And If I am Going In Wrong Direction then also let me know..

Thanks in advance for your support..

Comment
Add comment · Show 3
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 Sanky · May 13, 2013 at 06:13 AM 0
Share

Prime 31 is good plugin for $$anonymous$$erboards and Achievements in game following link for that plugin you can buy this from unity assets store. http://prime31.com/

avatar image Ekta-Mehta-D · May 13, 2013 at 06:59 AM 0
Share

ok thanx.. But I want solution regarding $$anonymous$$Bolt Plugin..

avatar image leo.flaherty · Jan 08, 2014 at 11:34 AM 0
Share

Just to clarify: you have already set up your ads on the $$anonymous$$bolt website, but when you try to use the ad ID codes they give you, they don't work?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Swordmaster2552 · Mar 02, 2014 at 07:53 AM

All of your LeadBolt ads are going to show the default LeadBolt banner or logo until you move your app out of testing mode. Once your app goes live, different, real ads will be displayed.

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

18 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

Related Questions

How much does a banner ad make vs a rewarded ad? 0 Answers

Displaying Admob's banner ad in game scene 0 Answers

How can I make Audience Network's Banner on a separate block not covering my game content? 0 Answers

Unity3d banner ads 1 Answer

Banner Ad Without Button 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