title: google adsense not showing in laravel project localhost
body: <p>Some times I get this error in my console</p>
  
  <blockquote>
    <p>Failed to load resource: the server responded with a status of 400 ()</p>
  </blockquote>
  
  <p>And some times there is no error!!</p>
  
  <p>I heard that it takes some time to show up the ads! But even in localhost I have to wait?</p>
  
  <p>here is the code:</p>
  
  <pre><code>&lt;!-- inside header --&gt;
  &lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&gt; 
  &lt;/script&gt;
  
  &lt;!-- at the place where I want to show --&gt;
  &lt;ins class="adsbygoogle"
    style="display:inline-block;width:336px;height:280px"
    data-ad-client="ca-pub-XXXXXXXXXXXX"
    data-adtest="on"
    data-ad-slot="XXXXXX"&gt;
  &lt;/ins&gt;
  
  &lt;!-- inside scripts tag --&gt;
  &lt;script&gt;
      (adsbygoogle = window.adsbygoogle || []).push({});
  &lt;/script&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ICvxB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ICvxB.png" alt="enter image description here"></a></p>
  
  <p>my references:
  <a href="https://stackoverflow.com/questions/26864860/is-google-adsense-available-for-localhost">Is Google adsense available for localhost?</a></p>