title: Ad is not visible. Not refreshing ad. after screen off
body: <p>I noticed I get the following messages after the screen has been off:</p>
  
  <pre><code>I/Ads﹕ Ad is not visible. Not refreshing ad.
  I/Ads﹕ Scheduling ad refresh 60000 milliseconds from now.
  </code></pre>
  
  <p>I have the following code inside <code>onResume</code>:</p>
  
  <pre><code>    if (adView != null) {
          adView.resume();
      }
  </code></pre>
  
  <p>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.</p>
  
  <p>Anyone else with this issue?</p>
  
  <p>Thanks.</p>
  
  <p>EDIT: The code I use to create the adview and request</p>
  
  <pre><code>    adView = new AdView(this);
      adView.setAdSize(AdSize.BANNER);
      adView.setAdUnitId(id);
      LinearLayout layout = (LinearLayout) findViewById(R.id.main_layout);
      layout.addView(adView);
      createAdRequest();
  </code></pre>
  
  <p>The code of <code>createAdRequest()</code>:</p>
  
  <pre><code>    AdRequest.Builder builder = new AdRequest.Builder();
      builder.addKeyword(somekeyword);
      AdRequest adRequest = builder.build();
      adView.loadAd(adRequest);
  </code></pre>
  
  <p>I have noticed something else that is odd, I sometimes call <code>createAdRequest</code> 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 <code>createAdRequest</code> again. </p>