Don't display the same ad twice on the same page

Created on 17 April 2008, over 17 years ago
Updated 19 September 2024, 10 months ago

Maybe this has been answered elsewhere, but had not seen in my searches. I'm sure many of you are aware, AdSense limits a page to having no more than three ads posted. I'm combining AdSense with a couple of other ads from another provider. I'd like to be able to post random ads in various blocks on the page, but how do I ensure no more than three AdSense ads are shown?

For example say I have one leaderboard ad, three ads on the sidebar and one ad in the footer. Each of the five blocks can randomly select from a group of 10 ads, of which five are AdSense and 5 are not. Other than doing something programmatically, is there a way in the ad module to have it be "smart enough" to not pick from AdSense after the allotment of 3 has been met?

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

ad module

Created by

πŸ‡ΊπŸ‡ΈUnited States ron_s

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany lrwebks Porta Westfalica

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

Production build 0.71.5 2024