WordPress.org

Ready to get started?Download WordPress

Forums

Quick Adsense
Asynchronous Adsense ad edits the code (4 posts)

  1. arslion
    Member
    Posted 1 year ago #

    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/

  2. joshuajcohen
    Member
    Posted 8 months ago #

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

  3. joshuajcohen
    Member
    Posted 8 months ago #

    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>

  4. 6784272
    Member
    Posted 7 months ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic