title: Load ads after content is loaded
body: <p>I am trying to load AdSense responsive ads after content is loaded from Firebase, however no ads are showing, just blank pace. After putting code online I get error:</p>
  
  <blockquote>
    <p>No slot size for availableWidth=0</p>
  </blockquote>
  
  <p>I went through about 4 pages in google to find solution but couldn't get one so I thought you can help me out.</p>
  
  <p>I am applying the AdSense code as following:</p>
  
  <pre><code>    &lt;head&gt;
         &lt;script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
         &lt;div id="demo" style="display: none;"&gt;
         &lt;!-- SnusPedia automatic size add --&gt;
         &lt;style&gt;
            .example_responsive_1 { width: 320px; height: 100px; }
            @media(min-width: 500px) { .example_responsive_1 { width: 468px; height: 60px; } }
            @media(min-width: 800px) { .example_responsive_1 { width: 728px; height: 90px; } }
         &lt;/style&gt;
         &lt;ins class="adsbygoogle example_responsive_1"
            style="display:block"
            data-ad-client="ca-pub-8297030761327810"
            data-ad-slot="9809929086"
            data-ad-format="auto"&gt;&lt;/ins&gt;
         &lt;script&gt;
               window.onload = function(){
              (adsbygoogle = window.adsbygoogle || []).push({});
               }
         &lt;/script&gt;
    &lt;/div&gt;
  
      &lt;/body&gt;
  </code></pre>
  
  <p>What could cause the problem?</p>