Advertisement should have the capability to control the amount an ad is displayed as a fraction of 100%.

For instance, if you would like one ad to have 20% of the views and another to have 80%. Or if you have four ads and you'd like them displayed at 50%, 25%, 17%, and 8% of the time.

The old banner module implemented this via the 'chance' field, where the odds that an item were shown was (ad chance)/(sum of all ad chances).

Comments

jeremy’s picture

Version: » 5.x-1.x-dev

New features will only be added to the 5.x development branch.

jeremy’s picture

Assigned: Unassigned » jeremy

I have a need for this now, assigning to myself.

jeremy’s picture

The GUI for this has been implemented. I'm still working on the back-end logic for it.

jeremy’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Component: ad.module » ad module
Status: Active » Postponed

The module is sitting idle in the 6.x-2.x branch, waiting for love. Marking issue as pending, waiting for someone to come along with a patch, or for me to need it and implement it, or for funding.

lrwebks’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)

Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!