Admob - no ad received

You must Login before you can answer or comment on any questions.

Hi,

My setup: windows 7; android sk is 4.1 with api 16; titanium studio 2.1.1; admob 2.0.1 (with admob sdk 4.3.1 inside); running on the android emulator

My issue is that I cannot receive any adds. I went through a lot of forums and read a lot but cannot find anything to make it work. Also I noticed that the latest admob sdk is 6.1.0 but if I replace the 4.3.1 jar file in the admob module with the 6.1.0 jar file then my application stops working.

Thank you.

4 Answers

is your setup is correct? (tiapp.xml ? )

use ddms for read the error log from emulator/device

I did as in the tutorial and have no error messages in ddms (unfortunately as that would help), just the Admob.AD_NOT_RECEIVED event.

I have:

<android xmlns:android="http://schemas.android.com/apk/res/android">
        <manifest android:versionCode="1" android:versionName="1.0"/>
        <tool-api-level>16</tool-api-level>
    </android>
and
<modules>
        <module platform="commonjs" version="2.0.5">ti.cloud</module>
        <module platform="android" version="2.0.1">ti.admob</module>
    </modules>

No errors but the below info:

08-09 17:52:03.355: D/AdMobViewProxy(791): (KrollRuntimeThread) [199947,234055] requestTestAd():

08-09 17:52:03.355: D/AdMobView(791): (KrollRuntimeThread) [1,234056] requestTestAd()

08-09 17:52:03.363: D/AdMobView(791): (KrollRuntimeThread) [4,234060] requestAd(Boolean testing) -- testing:true

08-09 17:52:03.363: D/AdMobView(791): (KrollRuntimeThread) [3,234063] color_bg: FF8855

08-09 17:52:03.363: D/AdMobView(791): (KrollRuntimeThread) [1,234064] extras.size() > 0 -- set ad properties

08-09 17:52:05.743: D/AdMobView(791): (main) [2179,236243] onFailedToReceiveAd(): Invalid Google Ad request.

Ok I made it work. It was really not obvious to me for a test but I had to add my app (even though it is not published yet) in admob to obtain an id. Then it worked!

Your Answer

Think you can help? Login to answer this question!