• Resolved gurhan

    (@gurhansahin)


    Hi.
    i can’t add adsense code in new post. Ad inserter pluging cant see my content.
    when i opened Show Positions debugging functions in admin toolbar, see nothing in new post. but i can see adsense code in old post.
    i opened remote debugging. i am using wordpress classic editor.
    What must i do?

    new post: https://snipboard.io/NbVhva.jpg
    old post: https://snipboard.io/NUBLxQ.jpg

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

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

    (@spacetime)

    Hello,

    it seems there is an issue with your website, very likely caused by some plugin that does content processing.
    Ad Inserter doesn’t get the content for processing (via the_content WP filter hook) so it can’t insert anything.

    Try to disable other plugins to see which one caueses issues.

    You can also try to lower Ad Inserter plugin priority for earlier processing, for example to 5:
    https://adinserter.pro/documentation/plugin-settings#plugin-priority

    Thread Starter gurhan

    (@gurhansahin)

    thanks for your answer Spacetime

    Thread Starter gurhan

    (@gurhansahin)

    Hi Spacetime.
    i disabled all pluging. but error persisted.
    I uploaded the old version of Ad Inserter pluging:
    Ad Inserter 2.7.20: Not working
    Ad Inserter 2.7.19: Not working
    Ad Inserter 2.7.18: Not working
    Ad Inserter 2.7.17: Yes working ??

    The problem seems to be caused by newer versions of the Ad Inserter plugin.

    What can i do?

    Plugin Author Spacetime

    (@spacetime)

    There were no such changes in the plugin so I would need to check.
    However, remote debugging doesn’t seem to be enabled.

    Thread Starter gurhan

    (@gurhansahin)

    Thanks.
    ok. Remote debugging is enable.

    • This reply was modified 2 years, 5 months ago by gurhan.
    Plugin Author Spacetime

    (@spacetime)

    It seems you have now version 2.7.17 installed, however, still no block is inserted.
    I don’t see any difference.

    And plugin priority is still set to the default value 99999.

    Thread Starter gurhan

    (@gurhansahin)

    i use browser cache. please clear history or use private mode browsing for see difference.

    yes. I didn’t change the plugin priority when it worked in version 2.7.17.

    Plugin Author Spacetime

    (@spacetime)

    I get currently generated page:

    Ad Inserter              2.7.17
    INSTALLED:               2019-11-13 23:01:34 (0002-10-28 13:44:43, 1063 days ago)
    GENERATED (WP time):     2022-10-12 12:46:18
    GENERATED (Server time): 2022-10-12 12:46:18

    No block is inserted and the content hook is still broken.

    INSERTION SUMMARY
    ======================================
    Thread Starter gurhan

    (@gurhansahin)

    i can see ads.
    https://snipboard.io/l7cnb5.jpg

    this ad is shown by ad inserter.

    • This reply was modified 2 years, 5 months ago by gurhan.
    Plugin Author Spacetime

    (@spacetime)

    Yes, it works now. This seems to be block 12.
    Please note that Google sometimes does not serve ads and you may get blank blocks:
    https://adinserter.pro/documentation/adsense-ads#ads-not-displayed

    Thread Starter gurhan

    (@gurhansahin)

    Hi Spacetime,
    Adsense not showing ads is not a problem. The problem is that ad-inserter doesn’t insert the adsense code.
    Problem persists for Ad Inserter version 2.7.20, 2.7.19 and 2.7.18.
    I am using version 2.7.17 for ads to appear.

    Is there anything to be done for this problem?

    Plugin Author Spacetime

    (@spacetime)

    If you followed the steps described above you need to install that version in order to check it again.

    Thread Starter gurhan

    (@gurhansahin)

    ok.
    i installed Ad Inserter version 2.7.20.
    Ad Inserter plugin priority is 5.
    Remote debugging is Enable.

    But Ad Inserter can’t see content.

    please clear history or use private mode browsing for see difference.

    Plugin Author Spacetime

    (@spacetime)

    Now the content is passed to the plugin and some blocks are inserted:

    INSERTION SUMMARY
    ======================================
    BLOCK  3 FAILED CHECK: CODE EMPTY 
    BLOCK  4 FAILED CHECK: CODE EMPTY 
    BLOCK  5 FAILED CHECK: CODE EMPTY 
    BLOCK  6 FAILED CHECK: URL 
    BLOCK  7 FAILED CHECK: URL 
    BLOCK  8 FAILED CHECK: URL 
    BLOCK  9 FAILED CHECK: URL 
    BLOCK 10 FAILED CHECK: CODE EMPTY 
    BLOCK 11 INSERTED 
    BLOCK 12 FAILED CHECK: PARAGRAPHS WITH TAGS 
    BLOCK 13 FAILED CHECK: PARAGRAPHS WITH TAGS

    Most blocks are not inserted because of the settings.

    You can use debugging functions to diagnose insertions:
    https://adinserter.pro/documentation/debugging

    Thread Starter gurhan

    (@gurhansahin)

    Thanks for your helps.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Ad Inserter can’t see new content’ is closed to new replies.