Ads not showing in testmode false

678 views
Skip to first unread message

ONTT ONTimeTables

unread,
Sep 19, 2011, 6:40:04 AM9/19/11
to Google AdMob Ads Developers
I developed an Android App with Phonegap.

I know my connection with the my publisher id is working since I can
change the colours of the test Ad displayed but as soon as I turn test
to false the Ad doesn't show anymore.

Naturally I've added GoogleAdMobAdsSdk-4.1.1.jar to the libs map and a
reference in the manifest like this:

<activity android:name="com.google.ads.AdActivity"
android:label="@string/app_name" android:configChanges="orientation|
keyboardHidden"> <intent-filter> </intent-filter> </activity>

The code I've got posted on the index page where the ad is suppose to
show is the body onload:

<body onload="_admob.init()">

and on the location where I want the ad to show:

<script type="text/javascript">
var admob_vars = {
pubid: '[my_publicer_id]', // publisher id
test: false, // test mode, set to false if non-test mode
manual_mode: true
};
</script>
<script type="text/javascript" src="http://mm.admob.com/static/iphone/
iadmob.js"></script>
<script type="text/javascript" charset="utf-8">
_admob.fetchAd(document.getElementById('admob_ad'));
</script>
<div id='admob_ad'></div>

Any change to this coding results in the ad not showing. Thanks for
any help.

wes (google)

unread,
Sep 21, 2011, 12:54:25 PM9/21/11
to google-adm...@googlegroups.com
Apologies, but this forum doesn't offer support for the JS implementation of AdMob.  Unfortunately, we can only provide support for native device solutions.

Cheers,
Wes
Reply all
Reply to author
Forward
0 new messages