x


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!

more ▼

asked Jul 12 '11 at 04:59 PM

Mrten gravatar image

Mrten
98 10 10 16

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

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.

Hope this helps.

more ▼

answered Jan 12 at 09:10 AM

neatplug gravatar image

neatplug
51 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2481
x87
x23

asked: Jul 12 '11 at 04:59 PM

Seen: 3282 times

Last Updated: Jan 12 at 09:10 AM