Is it possible to set a "refresh rate" for ads in my iOS app?

Discussion in 'iOS Programming' started by felixen, May 2, 2012.

  1. felixen macrumors 6502a

    Apr 13, 2009
    Hey guys.

    I have been wondering if it is possible to make an ad reload/refresh every once in a while to get more impressions? Like if a user doesn't quit my app - if he just turns off the screen, then my app would still be running in the foreground, I assume.

    Can I code the app, still running in the foreground despite the screen being off, to refresh the ads every 15 minutes, thus getting me more impressions?
  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    I know in my app I used AdWhirl which let me set a refresh time (and mix iAds, AdMob, and my own custom ads all in the same app.)

    I discourage you from using ads at all though. If you're interested in making money, make your app worth at least $0.99 instead and sell it at that. iAds translate to about $0.01 per download, while making your app $0.99 will result in getting about 1/20th of the downloads that $0.99 would get. Thus $0.99 is much more profitable.
  3. felixen thread starter macrumors 6502a

    Apr 13, 2009
    Thanks for the reply, and the advice too. I will give it a shot with ads though - I will have both a lite and a paid version.

    So I really can have the ad refresh in intervals, that's interesting. This leads me to two new questions:

    1) What stops developers from programming the ad to refresh once a minute for instance? If I use AdWhirl for instance I can use multiple networks, thus increasing the fill rate. With a high fill rate percentage, why not make the ad refresh every minute?

    2) Will the ad still refresh if the screen is shut off, but the app is still running in the foreground? If so, will it still count as an impression? Obviously the user won't see the ad if the screen is off, but if the ad has loaded anyway, won't that count as an impression?

    Really hope I can get some help with this
  4. ArtOfWarfare, May 2, 2012
    Last edited: May 2, 2012

    ArtOfWarfare macrumors G3


    Nov 26, 2007
    AdWhirl limits you to one request per 15 seconds (which is how often I have it set to refresh.) The APIs seem to be intelligent enough to know if they're visible on screen or not... They print out error messages in the logs if they detect that any of your views are on top of their ad views. I imagine the APIs automatically handle the screen being turned off and stuff.

    Something else limiting you on refreshes is it does take up some CPU and Internet bandwidth... Your users may not appreciate your app wasting a lot of the cellular data allotment loading ad refreshes. If you're making a game or something else graphically intensive, your frame rate could suffer from frequently drawing animations of moving old ads out / new ads in.
  5. felixen thread starter macrumors 6502a

    Apr 13, 2009
    Alright, that makes sense! Thanks for your input man
  6. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    No, it won't, since with the screen off, the device is asleep and no apps are running in the foreground.

Share This Page