开发者

How can I force my app to refresh the ad? [duplicate]

开发者 https://www.devze.com 2023-03-31 04:52 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to force Admob to refresh on Android
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to force Admob to refresh on Android

My problem is if my program can't load an ad at the start, it won't try it continously, so while the user is playing with my game, there will be no ads to show. Ho开发者_如何学Pythonw can I force my app to try to load again an ad? I set the refresh rate on the Admob's site, but it can't refresh itself, if there weren't any ads at the start. I'm at AdMob.

Please help me!


Try

 AdView.loadAd(new AdRequest());

and

 @Override
        public void onFailedToReceiveAd(AdView adView)
        {
            // TODO Auto-generated method stub
            super.onFailedToReceiveAd(adView);
            //Display your other view here.
        }

Note that your question is a duplicate of one of two SO questions. There is a search tool here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号