Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » Rich Media not loading on posts

  • Resolved misaka1

    (@misaka1)


    Hi,

    I have been using Ad Inserter for quite a long time and I am very satisfied with it. However, recently, my Rich Media has stopped working/loading on posts even though I have them checked. I can’t see them in the source code on my posts either. They work, however, on the homepage & pages.

    My settings of Ad Inserter

    What could be possibly causing this?

    • This topic was modified 6 months ago by misaka1.
    • This topic was modified 6 months ago by misaka1.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Spacetime

    (@spacetime)

    I can see the code inserted as configured:

    <!-- 9TailedKitsune - Rich Media (60fa9c12ebad4b3945a87fb9) - 1x1 - Place in <BODY> of page where ad should appear -->
    <div class="vm-placement" data-id="60fa9c12ebad4b3945a87fb9" style="display:none"></div>
    <!-- / 9TailedKitsune - Rich Media (60fa9c12ebad4b3945a87fb9) -->

    This means the plugin works fine.
    It seems you have the issue elsewhere.
    Maybe some (header) script is missing.

    Thread Starter misaka1

    (@misaka1)

    Hi @spacetime ,

    I tried troubleshooting, and when I checked for ‘above header’ and ‘output buffering’ on the posts pages, it shows like this. There is none of them even though I inserted the Rich Media into ‘posts’ too.

    This is the homepage, which works and shows both ‘above header’ and ‘output buffering’.

    Thank you

    Plugin Author Spacetime

    (@spacetime)

    Remote debugging doesn’t seem to be enabled:
    https://wordpress.org/support/topic/ad-inserter-support-forum-before-you-ask-for-help/
    Please check.

    Thread Starter misaka1

    (@misaka1)

    I enabled it, can you please check?

    Plugin Author Spacetime

    (@spacetime)

    It seems the issue is caused by the HTML body tag in the ad code comments.

    Replace
    Place in <BODY> of page

    with

    Place in BODY of page

    in all ad codes.

    Thread Starter misaka1

    (@misaka1)

    @spacetime I changed it but nothing has happened yet (I also purged cache).

    Interestingly enough, I am using this code for both pages and the homepage of the same site and they load properly. It suddenly stopped working yesterday, before it has been the same code for over a year.

    • This reply was modified 6 months ago by misaka1.
    • This reply was modified 6 months ago by misaka1.
    Thread Starter misaka1

    (@misaka1)

    @spacetime You were right! Thank you a lot.

    Now it does load… can I ask why did this change suddenly help it? The tech team from my ad network had problems figuring out what was wrong.

    Plugin Author Spacetime

    (@spacetime)

    This body tag in the HTML comments was causing wrong deetction of the page body start used for Above header insertion position.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Rich Media not loading on posts’ is closed to new replies.