WordPress.org

Support

Support » Plugins and Hacks » Asynchronous Adsense ad edits the code

Asynchronous Adsense ad edits the code

  • when i put this asynchronous adsense code in quickadsense

    <ins class="adsbygoogle"
    style="display:inline-block;width:300px;height:600px"
    data-ad-client="ca-pub-6854259879671533"
    data-ad-slot="1804145128"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    Its automatically changes to this code

    <ins class="adsbygoogle"<br/>
    style="display:inline-block;width:300px;height:600px"<br/>
    data-ad-client="ca-pub-6854259879671533"<br/>
    data-ad-slot="1804145128"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    causing error and not showing ads.

    http://wordpress.org/plugins/quick-adsense/

Viewing 3 replies - 1 through 3 (of 3 total)
  • joshuajcohen
    Member

    @joshuajcohen

    I’m having the same error. Did you have any luck on fixing?

    joshuajcohen
    Member

    @joshuajcohen

    I think I may have found a solution. Just put everything in the <ins> tag on the same line. Then cut and paste it into Quick Adsense. Like this:

    <ins class=”adsbygoogle” style=”display:inline-block;width:300px;height:600px” data-ad-client=”ca-pub-6854259879671533″ data-ad-slot=”1804145128″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    6784272
    Member

    @6784272-1

    I have a similar problem. The asynchronous code is copied correctly from adsense to quickadsense, but ads simply don’t show on my website, not even blank ads.

    Synchronous code works just fine but I’d like to use asynchronous code as I hear is more reliable.

    My website is in good standings and verified with webmaster tools. Can someone please help me!?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Asynchronous Adsense ad edits the code’ is closed to new replies.