title: How to load Doubleclick ads along side dynamic content
body: <p>I have been trying to get Doubleclick ad tags to load with my dynamic content. I have a website which loads more content as you scroll down rather than having to go to the next page, back a page, etc. However I have been unsuccessful in getting my ads which I have on every 2nd to 3rd page to load.</p>
  
  <p>Does anyone know how to do this?</p>
  
  <p>Thanks.</p>
  
  <p><em>edit</em></p>
  
  <p>Code in the header:</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
      googletag.cmd.push(function() {
      googletag.defineSlot('/XXX/XXX', [300, 250], 'div-gpt-ad-XXX-0').addService(googletag.pubads());
  
      googletag.pubads().enableSingleRequest();
      googletag.enableServices();
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>I have also tried removing "enableSingleRequest" however that didn't seem to help.</p>
  
  <p>Ad code in body:</p>
  
  <pre><code>&lt;div id='div-gpt-ad-XXX-0' style='width:300px; height:250px;'&gt;
      &lt;script type='text/javascript'&gt;
          googletag.cmd.push(function() { googletag.display('div-gpt-ad-XXX-0'); });
      &lt;/script&gt;
  &lt;/div&gt;
  </code></pre>