Question

Does it make sense to send another request by calling loadRequest if the first one failed? Maybe inside didFailToReceiveAdWithError? Or does the Admob code handle this itself?

Thanks!

Was it helpful?

Solution

No, it's not a good option.

You failed to receive an ad either because there is a problem with your config, in which case sending another request will still fail. Or the ad server is down (very unlikely) which will also result in another failure. Or there are no ads available at this time in this area for your app, in which case asking again does not help.

Just use the regular time out mechanism to check for ads at intervals.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top