title: Adsense with AJAX
body: <p>I read <a href="https://stackoverflow.com/questions/6161806/desperately-need-a-solution-for-adsense-that-works-with-ajax">this</a>, <a href="https://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it#441425">this</a> and <a href="https://stackoverflow.com/questions/6394594/how-to-force-advert-to-show-on-ajax-loaded-page-adsense">this</a>, but I think my situation is different.
  I don't need to refresh Ads everytime I make an AJAX call.</p>
  
  <p>I have a page call it "mypage.php". I load Adsense advertisement into first div, when page is opened. My second div is empty.  </p>
  
  <p>After DOM is fully loaded, i make an AJAX post. And put the result into "lower_content" div.
  Does this break Adsense TOS?</p>
  
  <pre><code>&lt;body&gt;
    &lt;div id="adSense_content&gt;
      &lt;script&gt; adsense script &lt;/script&gt;
    &lt;/div&gt;
  
    &lt;div id="lower_content"&gt;
      empty in start
    &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>My js file:</p>
  
  <pre><code>$(document).ready(function() {
    $.ajax({
      type: "POST",
      url: "/getit",
      success: function(data) {
              $("#lower_content").html(data);
          }
    });
  }
  </code></pre>
  
  <p>Note: Why I don't load second content when page is opening? Because AJAX call replies in 6-7 seconds. When server load is high, response comes even in 10-15 seconds. To not to make visitor wait with empty page, or even bounce from the page. I show layout to visitor in start, and load content when the response of AJAX call came.</p>
  
  <p>edit: Putting an ad to an empty page is againts Adsense TOS. But the page that I mentioned is empty while loading the table data. After loading the full table with AJAX the page is loaded with content. But ad is put while loading the html page.</p>