• Resolved seotaro

    (@seotaro)


    Hi,

    I made a stagging site to test the ad rotating function, and disabled all plugins except for Ad-inserter.

    And I put two AdSense codes of different sizes as follows.

    [ADINSERTER ROTATE name="11" time="10"]
    
    <ins class="adsbygoogle adsidedesk"
         style="display:block;min-height:600px;max-width:300px !important;"
         data-ad-client="ca-pub-111"
         data-ad-slot="222"></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    
    [ADINSERTER ROTATE name="22" time="10"]
    
    <ins class="adsbygoogle adsidedesk"
         style="display:block;min-height:300px;max-width:300px !important;"
         data-ad-client="ca-pub-111"
         data-ad-slot="333"></ins>
    <script>
         (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    

    in Header.php

    
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8698048913255182" crossorigin="anonymous"></script>
    

    But ads doesnt rotated. ad displayed first ad Only

    I read at the docs and changed the Dynamic Blocks to Client-side insert in the preferences, but it still doesn’t work.

    Is there anything else I should check?

    • This topic was modified 2 years, 11 months ago by seotaro.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AD Rotation not working.’ is closed to new replies.