• Resolved pboch

    (@pboch)


    Hi

    I’m trying to achieve the following:
    I have google Ads on my page and now additionally a static ad (i.e. just an image with a link). On the Frontpage, there are 3 places where (until now) only google ads were showing.
    Now I want to show both google ads and the static ad.
    My idea is to show googlead within the main content window and the static ad in the sidebar, but rotate this behavior (i.e. next time the page loads, static ad is in content and google ad in sidebar).

    From your documentation I thought the rotation groups were the way to achieve this, but I can’t seem to get it to work.
    As both locations for ads are using widget to display something, I first placed a block before the respective ad block – didn’t work.
    I then inserted the “silent” block with group activation “before post” – didn’t work either.

    Can you point me to the right solution – happy to use other means if groups are not the way to go for this.

    Thanks

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

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter pboch

    (@pboch)

    Changed Block 10, but no changes.

    With regards to the ads:

    There should be two options:

    Adsense Content and Static sidebar
    or
    Static Content and Adsense sidebar

    Hence, I have a content block with
    Adsense Content
    Static Content

    And a sidebar block with
    Adsense Sidebar
    Content Sidebar

    Wouldn’t that be the correct approach?

    Plugin Author Spacetime

    (@spacetime)

    Then it makes no sense to create a group with the same ads.

    Try the following:

    Ad position 1

    [ADINSERTER ROTATE group="A"]
    
    <script for adsense 320x50>
    
    [ADINSERTER ROTATE group="B"]
    
    <static ad 320x50>

    Ad position 2:

    [ADINSERTER ROTATE group="A"]
    
    <static ad 728x90>
    
    [ADINSERTER ROTATE group="B"]
    
    <script for adsense 728x90>

    Block for group activation:

    [ADINSERTER group="A"]
    
    [ADINSERTER ROTATE]
    
    [ADINSERTER group="B"]

    But your theme calls hooks for positions before/after post/content in such a way that they are all placed below the content.

    Therefore, for group activation use position Above header (needs Output buffering enabled):
    https://adinserter.pro/documentation/automatic-insertion

    Plugin Author Spacetime

    (@spacetime)

    Maybe it would be better if you put activation code in the header.

    Enable shortcode for the group activaton block and put it in the Header code window.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Rotation not working for widgets’ is closed to new replies.