can't get ad by older admob sdk

224 views
Skip to first unread message

Easy Apps

unread,
Apr 23, 2012, 10:34:29 PM4/23/12
to google-adm...@googlegroups.com
Hi,

I would like to use old admob sdk version such as 4.1.1 in my Android application for some reason.
but it always fail to receive ad. below is the log.
it I switch to admob4.3.1, then everything is OK.
my question is does admob service still support older version such as 4.1.1?
thanks in advance.

========================================================
I/Ads     (22094): To get test ads on this device, call adRequest.addTestDevice("DE5E4254FDBA0EF08F78AE96AB067716");
I/Ads     (22094): 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":"a14f3f6bc126143","u_w":320,"msid":"easy.browser","cap":"m","js":"afma-sdk-a-v4.1.1","isu":"DE5E4254FDBA0EF08F78AE96AB067716","format":"320x50_mb","net":"wi","app_name":"16.android.easy.browser","hl":"en","u_h":533,"u_audio":1});</script></head><body></body></html>
I/Ads     (22094): AdLoader timed out after 60000ms while getting the URL.
I/Ads     (22094): onFailedToReceiveAd(A network error occurred.)


--
BRs
EasyApps

Eric Leichtenschlag

unread,
Apr 25, 2012, 7:48:51 PM4/25/12
to google-adm...@googlegroups.com
We always encourage you to upgrade to the newest version of the SDK (or at least don't revert to an older version).  4.1.1 should still be able to get ads though, we'll still serve them to users with that SDK.  Are you sure your device is connected to the internet?

Eric
--

Eric Leichtenschlag | Developer Programs Engineer | eleich...@google.com | 650-776-5591


Easy Apps

unread,
Apr 25, 2012, 8:03:11 PM4/25/12
to google-adm...@googlegroups.com

Sure, my device is connected to internet.

Is there any difference config between 4.1.1 and 4.3.1?

On Apr 26, 2012 7:49 AM, "Eric Leichtenschlag" <eleich...@google.com> wrote:

We always encourage you to upgrade to the newest version of the SDK (or at least don't revert to an older version).  4.1.1 should still be able to get ads though, we'll still serve them to users with that SDK.  Are you sure your device is connected to the internet?

Eric



On Mon, Apr 23, 2012 at 7:34 PM, Easy Apps <clickcl...@gmail.com> wrote:
>
> Hi,
>

> I would ...

Easy Apps

unread,
Apr 26, 2012, 10:14:37 AM4/26/12
to google-adm...@googlegroups.com
I can't get ad by 4.1.1, while it works well by 4.3.1, below is the log.
I change nothing of my code only except replace the jar file of admob. so my only assumption is 4.1.1 is not currently supported, rignt?

==========================log of 4.1.1==============================
I/Ads     ( 9754): To get test ads on this device, call adRequest.addTestDevice("DD7C9AD030179BC6101C41B6910CEE1C");
I/Ads     ( 9754): adRequestUrlHtml: <html><head><script src="http://www.gstatic.com/afma/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":0,"u_sd":1,"slotname":"a14f3f6bc126143","u_h":480,"u_w":320,"msid":"hello.world","js":"afma-sdk-a-v4.1.1","isu":"DD7C9AD030179BC6101C41B6910CEE1C","format":"320x50_mb","net":"wi","app_name":"1.android.hello.world","u_audio":1,"hl":"zh"});</script></head><body></body></html>
I/Ads     ( 9754): AdLoader timed out after 60000ms while getting the URL.
I/Ads     ( 9754): onFailedToReceiveAd(A network error occurred.)


==========================log of 4.3.1==============================
I/Ads     ( 9963): To get test ads on this device, call adRequest.addTestDevice("DD7C9AD030179BC6101C41B6910CEE1C");
I/Ads     ( 9963): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_buildAdURL({"preqs":0,"u_sd":1,"slotname":"a14f3f6bc126143","u_w":320,"msid":"hello.world","js":"afma-sdk-a-v4.3.1","mv":"3002210.com.android.vending","isu":"DD7C9AD030179BC6101C41B6910CEE1C","cipa":0,"format":"320x50_mb","net":"wi","app_name":"1.android.hello.world","hl":"zh","u_h":480,"u_audio":1});</script></head><body></body></html>
I/Ads     ( 9963): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=0&u_sd=1&slotname=a14f3f6bc126143&u_w=320&msid=hello.world&js=afma-sdk-a-v4.3.1&mv=3002210.com.android.vending&isu=DD7C9AD030179BC6101C41B6910CEE1C&cipa=0&format=320x50_mb&net=wi&app_name=1.android.hello.world&hl=zh-CN&u_h=480&u_audio=1&u_so=p&output=html&region=mobile_app&u_tz=-480&ex=1&client_sdk=1&pto=0&caps=interactiveVideo_sdkAdmobApiForAds&jsv=21", "afmaNotifyDt": "null">
I/Ads     ( 9963): onReceiveAd()


2012/4/26 Easy Apps <clickcl...@gmail.com>



--
BRs
EasyApps

Eric Leichtenschlag

unread,
Apr 26, 2012, 1:56:49 PM4/26/12
to google-adm...@googlegroups.com
The java code itself should all be the same.

In the manifiest, however, 4.1.1 only requires android:configChanges="keyboard|keyboardHidden|orientation" for the AdActivity.  I'm not sure that fixes your problem though.

Is there any reason why you want to use 4.1.1 over 4.3.1 or 6.0.0?  4.3.1 was much more stable than 4.1.1, and 6.0.0 has some cool new features like ad network mediation and full-width ads.

Eric

On Wednesday, April 25, 2012 5:03:11 PM UTC-7, daniel wrote:

Sure, my device is connected to internet.

Is there any difference config between 4.1.1 and 4.3.1?

Easy Apps

unread,
Apr 26, 2012, 5:03:13 PM4/26/12
to google-adm...@googlegroups.com

I tried to change manifest file but no effect.

The reason to use 4.1.1 is to keep my app small. I promised to users that my app is one of the most small app of the same type. I will use 6.0.0 if there are some minimized version smaller than 4.3.1. thanks.

On Apr 27, 2012 1:56 AM, "Eric Leichtenschlag" <eleich...@google.com> wrote:

The java code itself should all be the same.


In the manifiest, however, 4.1.1 only requires android:configChanges="keyboard|keyboardHidden|orientation" for the AdActivity.  I'm not sure that fixes your problem though.

Is there any reason why you want to use 4.1.1 over 4.3.1 or 6.0.0?  4.3.1 was much more stable than 4.1.1, and 6.0.0 has some cool new features like ad network mediation and full-width ads.

Eric



On Wednesday, April 25, 2012 5:03:11 PM UTC-7, daniel wrote:


>
> Sure, my device is connected to internet.
>

> Is there any difference config between 4.1.1 and ...

On Apr 26, 2012 7:49 AM, "Eric Leichtenschlag"  wrote:


>>
>> We always encourage you to upgrade to the newest version of the SDK (or at least don't revert...


>>
>>
>>
>> On Mon, Apr 23, 2012 at 7:34 PM, Easy Apps wrote:
>> >
>> > Hi,
>> >
>> > I would ...

>...

Easy Apps

unread,
Apr 26, 2012, 6:35:54 PM4/26/12
to google-adm...@googlegroups.com
the file size is more important to me than those new features.
I can't afford 6.0.0 which is too big to me.
4.1.1 is the smallest one I can find and it will be the best if it can works.
let me list the file size.

4.1.1, 55k
4.3.1, 78k
6.0.0, 183k
my app without admob, 109k.


2012/4/27 Easy Apps <clickcl...@gmail.com>



--
BRs
EasyApps

ChrisB

unread,
Apr 27, 2012, 1:26:24 PM4/27/12
to google-adm...@googlegroups.com
I get exactly the same problem ("AdLoader timed out after 60000ms while getting the URL") using SDK 6.0.0 on my 1.5 and 1.6 emulators. Switching to 4.3.1 and everything works fine.

Chris.

Mohammad Abu Hmead

unread,
May 1, 2012, 9:45:27 AM5/1/12
to google-adm...@googlegroups.com
I have the same problem, I want to use 4.1.1 because I'm developing for android 2.2 or next, if I want to use 4.3.1 or 6.0 i must change the Project Build Target, so, will my app run and show ads on  android 2.2 if I changed the project build target to 4.0?

William Ferguson

unread,
May 3, 2012, 12:51:39 AM5/3/12
to google-adm...@googlegroups.com
Yes, your app will still run. Changing the target build does not stop your app being available to earlier versions of Android.
Changing the min version however, will limit which devices are able to see you app in the Play Store.

William
Reply all
Reply to author
Forward
0 new messages