Question: I noticed I get the following messages after the screen has been off:

```
I/Ads﹕ Ad is not visible. Not refreshing ad.
I/Ads﹕ Scheduling ad refresh 60000 milliseconds from now.

```

I have the following code inside `onResume`:

```
    if (adView != null) {
        adView.resume();
    }

```

I stepped the code and it does get called just fine. It also works just fine if I get out of the activity and back in, the only issue appears to be when coming back after the screen goes off.

Anyone else with this issue?

Thanks.

EDIT: The code I use to create the adview and request

```
    adView = new AdView(this);
    adView.setAdSize(AdSize.BANNER);
    adView.setAdUnitId(id);
    LinearLayout layout = (LinearLayout) findViewById(R.id.main_layout);
    layout.addView(adView);
    createAdRequest();

```

The code of `createAdRequest()`:

```
    AdRequest.Builder builder = new AdRequest.Builder();
    builder.addKeyword(somekeyword);
    AdRequest adRequest = builder.build();
    adView.loadAd(adRequest);

```

I have noticed something else that is odd, I sometimes call `createAdRequest` again if I notice the keyword has changed, after I make that call the ads seem to stop refreshing as well but this time I don't see any visibility messages, I just don't see anymore requests until I call `createAdRequest` again.

Answer: 
Did you add code to your onPause and onDestroy as well?

```
@Override
protected void onPause() {
    adView.pause();
    super.onPause();
}

@Override
protected void onResume() {
    super.onResume();
    adView.resume();
}

```
I am going to try this approach I think it will pay off. I have been troubleshooting this all day. I should hope that I have a good grasp on it by now. I pasted the relevant part of the post the has the approach. Of course the onResume should be infered. For instance I am going to simply move the ad creation from the onCreate method. If you were using xml to define your ad obviously you would need to change to strictly code.

<https://groups.google.com/forum/#!topic/google-admob-ads-sdk/jz-ZQh86lm0>

The only way I could have the log stay silent was to remove the entire ad in onPause and add it again in onResume. 

If I added the below lines everything works fine, but since this is not the recommended approach then it would be great if the timer was stopped when calling onPause. 

```
admobAdView.pause();
((LinearLayout)admobAdView.getParent()).removeView(admobAdView);
admobAdView.destroy();
admobAdView = null;

```