• I have two Place objects in the Block widget. Each place has two ads linked to it. Each place should randomly choose between its two ads on refresh.

    What’s happening though, is the same ad is shown for twenty or thirty or more page refreshes. If I change the weight of the one ad that is continuously shown, so that it is lower, then the other ad will show and it will now be the only ad chosen “randomly”.

    Very occasionally, the second ad will get displayed on refresh, but then it goes back to the first ad and only shows that again. I know that anything random is likely to get the same result many times in a row, but this really seems to be preferring one ad over another.

    So, what I’m wondering is:

    How random is the choice or how is that randomness created?

    Is there any way to get better, more random results?

    https://www.ads-software.com/plugins/sam-pro-free/

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

    (@minimus)

    There is nothing accidental in this world!

    Each ad has a coefficient of the hits in the display cicle, which is calculated after each display of this ad. Coefficient of the hits depends on the weight and the number of ad impressions for the ad. All ads in the queue are sorted by this coefficient. The ad with the lowest coefficient is in the top of the queue and is the first candidate for the show. If this coefficient is the same for two or more ads , preference is given to the ad with the smallest ID (a unique identifier).

    When the display cicle is finished coefficients for all ads are set to zero.

    When the coefficient of an ad reaches the 1 value, this ad is excluded from queue.

    Thats all.

Viewing 1 replies (of 1 total)
  • The topic ‘How random is rotation-based refresh?’ is closed to new replies.