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

    (@spacetime)

    Ads won’t show when there’s an ad blocker (I had it on when I first looked, so thought I’d mention).

    The ad blocks are there, but there’s a “file not found” and some JS errors in the browser console. You might want to check your code.

    Plugin Author Spacetime

    (@spacetime)

    If you are using ad blocker then this is expected behavior.
    This is the purpose of ad blockers ??

    Error “Failed to execute ‘write’ on ‘Document”:

    https://contextual.media.net/nmedianet.js?cid=8CU1X9154
    Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.

    means that the media.net ad code must be executed during page load at the place where it is located.

    Since you are using client-side detection and insertion this ad code can’t be inserted this way.

    Some ad codes use old JavaScript method document.write which can’t be used asynchronously.

    Thread Starter cookney

    (@cookney)

    ok thanks I changed it to server side insert and now is working!

    many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Media.net adverts not showing’ is closed to new replies.