BANNER Selection Algorithm

Choosing the BANNER to display on a PAGE on a POSITION is a most important part of the Banner Administration System. There are four distinctive cases when selecting a banner:

  1. No PAGE & POSITION defined for a page at a certain position

    - No BANNER is displayed in this case

  2. PAGE & POSITION are defined for a page at a certain position, but there are no RESTRICTIONS.

    - The DEFAULT BANNER for this PAGE & POSITION is displayed

  3. PAGE & POSITION are defined for a page at a certain position, and there is only one RESTRICTION.

    - The corresponding BANNER is displayed, the Views Made field is incremented and the Views Left field is decremented.

  4. PAGE & POSITION are defined for a page at a certain position, and there are more than one RESTRICTIONS.

    - We rotate the banners to be displayed by the number of their total views.

    For example, if we have on a PAGE, at a certain POSITION the following RESTRICTIONS:

    For example, if we have on a PAGE, at a certain POSITION the following RESTRICTIONS:

    BANNER 1 to be displayed 5 times

    BANNER 2 to be displayed 10 times

    BANNER 3 to be displayed 15 times

    When reloading the page, the BANNER 3 will be displayed 3 times in a row, then BANNER 2 will be displayed 2 times, then BANNER 1 will be displayed 1 time, next BANNER 3 will be displayed 3 times in a row, etc., and the cycle will continue until the BANNERS are displayed of their no. of time.

    Warning:

    Default pages (as index.htm, index.html, default.htm, etc) may appear to you as not displaying correctly the banners. That often happenes when you create a restrinction for such a page.

    Example:

    The page of the restriction is: "http://www.interakt.ro/banners/index.php" and on this page you have a banner that has to be displayed (a restriction applies only to this page & position. If you will type in your browser the address: "http://www.interakt.ro/banners/index.php", the banner will appear correctly, but if you type: "http://www.interakt.ro/banners/", the banner may appear incorrectly or not even showing. That happens because, in this case, the page "http://www.interakt.ro/banners/" was not part of the group "http://www.interakt.ro/banners/index.php", as it was "http://www.interakt.ro/banners/index.php" in the previous case. To avoid this, please use a group of pages that includes the index pages.

    For example, put this group of pages in the resctriction:

    "http://www.interakt.ro/banners/", or even a wider group of pages: "http://www.interakt.ro/". This will generally solve the problem and the banners will be propperly displayed.