ads.show() causes massive number of http requests (inmobi only)

Hi,

There is a bug in ads system, which causes increased number of http requests to ad servers over time. You could re-produce the problem by using official inmobi ads sample coming with the sdk. Just use a http debugging proxy like Charles, deploy sample code to your device (i used my actual inmobi appid and set testMode=false and interval=30), click “Show Next Banner” button a couple of times and watch Charles’ http request list. After 30 seconds you will see many frequent ad requests. Inneractive does not have this problem. So this is an inmobi spesific issue.

Every ads.show() call starts a new ad request cycle without ending previous cycle. Even issuing ads.hide() before ads.show() does not resolve the problem. If you are using ads.show() many times like me, your application probably issues so many ad requests which results;

* a bad request/response ratio (low fill rate!)
* excessive network usage over time
* bad performance over time

Both latest stable release (704) and my test release (706) have this problem. I can not test with later versions, because of iOS 4.3 compatibility issues (which is also bad IMHO!). But i heavily suspect they also have this problem as i can not see any ads work on change logs.

I issued a bug request; you could also check its status here;
http://bugs.anscamobile.com/default.asp?11287

I used Charles web debugging proxy, which can be downloaded here (trial);
http://www.charlesproxy.com/

Best regards
deniz.
[import]uid: 11686 topic_id: 19892 reply_id: 319892[/import]

Hi Deniz,

I see both your threads RE inMobi and will bring them up in our next meeting.

Thanks,
Peach :slight_smile: [import]uid: 52491 topic_id: 19892 reply_id: 77496[/import]

thanks peach,

yeah software always have bugs, developers always solve them. the problem here is; ansca dropped before ios 4.3 compatibility… every resolved bug is going to come up with new releases which are literally useless for developers like us… We should maintain old customers, but there is no way to do so. As you see, even stable version is not so stable :slight_smile:

There should be sub development branches. This is my opinion. I know, it would be far more difficult to maintain them but so we would have a chance to survive against those pesky bugs :slight_smile:

deniz. [import]uid: 11686 topic_id: 19892 reply_id: 77504[/import]

This is resolved and will be fixed in the next daily build.

RE the compatibility change, that is coming from Apple who are dropping support for older iOS. (Just so you know it wasn’t Ansca’s decision to make.)

Peach :slight_smile: [import]uid: 52491 topic_id: 19892 reply_id: 77527[/import]

well, thanks for immediate fix :slight_smile:

As ~15% of my user base is still using pre 4.3 i can not go forward and use those new builds. So I am going to try to live with them :slight_smile:

Best.
deniz. [import]uid: 11686 topic_id: 19892 reply_id: 77530[/import]