Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    Random ads (ad rotation) is supported:
    https://adinserter.pro/documentation#ad-rotation

    To rotate different ad versions separate them with |rotate| – Ad Inserter will randomly select one of the ad versions.

    AD_CODE_1
    |rotate|
    AD_CODE_2
    |rotate|
    AD_CODE_3

    For example, to rotate 3 different images you can use the following code:

    <img style='height: 400px;' src="http://malsup.github.io/images/p1.jpg">
    |rotate|
    <img style='height: 400px;' src="http://malsup.github.io/images/p2.jpg">
    |rotate|
    <img style='height: 400px;' src="http://malsup.github.io/images/p3.jpg">

    Of course, you can also use shortcodes for ads in other code blocks:

    [adinserter block="1"]
    |rotate|
    [adinserter block="2"]
    |rotate|
    <img style='height: 400px;' src="http://malsup.github.io/images/p3.jpg">

    If you are using shortcodes make sure:
    – they are enabled (button Manual): https://adinserter.pro/documentation#manual
    – you set alignment for shortcode ads to No wrapping (raw ad code)
    – you don’t configure insertion for shortcode ads – configure it for the code block where shortcodes are used.

    If you are using caching you need to set Dynamic blocks to Client-side (Tab General settings):
    https://adinserter.pro/documentation#caching-ad-rotation

Viewing 1 replies (of 1 total)
  • The topic ‘Possible to have Groups?’ is closed to new replies.