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 Mrten · Jul 12, 2011 at 04:59 PM · androidadmobprime31

AdMob plugin for Android fails

I've been trying to get AdMob working with the Prime31 plugin for Android. And I actually had it working for a while, with a banner showing. Then suddenly it just didn't appear anymore, and I can't for the life of me see what I've done differently. I'm currently using the example implementation that came with the plugin (AdMobAndroidBanner), and that's what was working before as well.

Logcat tells me this when I run the game:

 I/Prime31 ( 2838): requested adSize enum value: 0
 D/Prime31 ( 2838): creating ad banner with leftMargin:topMargin: 160:0
 V/Unity   ( 2838): Non platform assembly: /assets/bin/Data/Managed/Boo.Lang.dll (this message is harmless)
 I/Ads     ( 2838): To get test ads on this device, call adRequest.addTestDevice("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
 I/Ads     ( 2838): adRequestUrlHtml: <html><head><script src="http://www.gstatic.com/afma/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":0,"u_sd":1.5,"slotname":"xxxxxxxxxxxx","u_w":533,"msid":"se.xxxxxxxxxxxxxxx.xxxxxx","js":"afma-sdk-a-v4.1.0","isu":"xxxxxxxxxxxxxxxxxxxxxxxxxx","format":"320x50_mb","net":"wi","app_name":"2.android.se.xxxxxxxxxxxxxxx.xxxxx","hl":"en","u_h":320,"u_audio":3,"u_so":"l"});</script></head><body></body></html>
 D/dalvikvm(  984): GC_EXPLICIT freed 4K, 50% free 2731K/5379K, external 1625K/2137K, paused 592ms
 I/Ads     ( 2838): Received ad url: <"url": "http://r.admob.com:80/ad_source.php?preqs=0&u_sd=1.5&slotname=xxxxxxxxxxxx&u_w=533&msid=se.xxxxxxxxxxxxxxxxxxxx.xxxxx&js=afma-sdk-a-v4.1.0&isu=xxxxxxxxxxxxxxxxxxxxx&format=320x50_mb&net=wi&app_name=2.android.se.xxxxxxxxxxxx.xxxx&hl=en&u_h=320&u_audio=3&u_so=l&output=html&region=mobile_app&u_tz=-120&ex=1&client_sdk=1", "afmaNotifyDt": "null">
 D/dalvikvm( 2838): GC_CONCURRENT freed 707K, 47% free 3557K/6663K, external 2006K/2137K, paused 6ms+3ms
 D/webviewglue( 2838): nativeDestroy view: 0x76da00
 D/webviewglue( 2838): nativeDestroy view: 0x739da0
 I/Ads     ( 2838): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.)
 D/Prime31 ( 2838): onFailedToReceiveAd. errorCode: Ad request successful, but no ad returned due to lack of ad inventory.
 V/Unity   ( 2838): SendMessage: object AdMobAndroidManager not found!

I'm really lost at where I should even begin to look, as all the example projects that was working before also seems to have stopped working. Any help is appreciated!

Comment
Add comment · Show 1
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 wtsang01 · Dec 14, 2013 at 07:07 PM 0
Share

I can't believe how much link-only/advertising answers there are.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by neatplug · Jan 12, 2013 at 09:10 AM

You may want to try the brand new plugins at http://www.neatplug.com. They are inexpensive, easy to use, stable, product quality.

You don't have to write a piece of code to integrate and use the neatplug admob plugin, should be done less a minute.

A FREE trial can be downloaded from http://www.neatplug.com/trial?p=p-u3d-admobaduniversal.

Hope this helps.

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 shinriyo_twitter · Sep 27, 2011 at 06:36 AM

http://forum.unity3d.com/threads/67817-I-will-pay-someone-to-show-me-how-to-integrate-admob

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 pimpin · Aug 02, 2013 at 08:52 PM

This is what you need. http://digitalcrackapp.com/images/androidpluginsunity/androidpluginsdemo.zip

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

7 People are following this question.

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

Related Questions

How to set Prime31 AdMob (IOS / Android) to 'Test Mode' 1 Answer

GoogleMobileAds: As soon as I add my real banner ID, it stops working. 0 Answers

Admob & OpenFeint Integration 0 Answers

Admob 2.1 in Unity. How to ? 1 Answer

Help with c# script for new google play adverts 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