title: Refresh a Div that has a Google ad inside it
body: <p>I have a <code>&lt;div&gt;</code> that holds a google ad. My website is mostly AJAX and there is no need for a browser refresh. That means my ads will not refresh either, which isn't ideal, a user staring at one ad all day. </p>
  
  <p>So I wanted a way to refresh a particular <code>&lt;div&gt;</code> on a page. I found many solutions but they didn't work. For example, using JQuery's html function:</p>
  
  <pre><code>$("#ads").html("google ad script here");
  </code></pre>
  
  <p>This managed to refresh the whole page no idea how. I can also make an AJAX request to a HTML page that contains the Google ad but I am guessing it will have the same effect as the above attempt.</p>
  
  <p>I do not want to use iFrames.</p>
  
  <p>Is there any other option open to me? My pea brain can not think of anymore. :)</p>
  
  <h2>EDIT:</h2>
  
  <p>It is allowed since I will be initiating the refresh only when a user clicks a link.</p>
  
  <p>A prime example is Yahoo Mail - their new AJAX mailbox uses this same method, when a user clicks a link then a new ad is shown.</p>