Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » Max Insertions

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

    (@spacetime)

    Max insertions limit can work only for server-side insertions.

    Client-side insertion is done according to the CSS selector you configure.
    If this selector matches more than one element you will have more than one insertion.

    Therefore, either switch to server-side insertion (you need to enable Output buffering)
    https://adinserter.pro/documentation/automatic-insertion#before-after-html-element

    or limit insertions with appropriate CSS selector.

    ghazz

    (@ghazz)

    Hello,

    Thank you for the response. I enabled output buffering, switched to serverside on that block, but now none of the ad units show up after doing this. Anything else I need to change?

    ghazz

    (@ghazz)

    This is what I see with output buffering enabled: https://www.dropbox.com/s/wr8ipcb3xyg5ix9/2019-02-21_11-21-56.png?dl=0

    Plugin Author Spacetime

    (@spacetime)

    Can you please try to clear all caches and reload the page with Ctrl F5?

    Plugin Author Spacetime

    (@spacetime)

    This is blank ad block (currently no ad served).

    I still see client side insertion for multiple blocks 1.

    ghazz

    (@ghazz)

    It looks like it is indeed working! Will test and make sure, thank you!

    • This reply was modified 12 months ago by ghazz.
    ghazz

    (@ghazz)

    Now about half the time or more, the ad blocks are blank, before ads served 90%+ of the time. Is that because of output buffering?

    Plugin Author Spacetime

    (@spacetime)

    No.
    This only does processing and insertion after the page is generated.

    You only need to wait for a while until Google crawls the pages and finds ad code there.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Max Insertions’ is closed to new replies.