ad
The Advertisement module provides a flexible and extensible advertising system, allowing to display ads via the block layout.
Features:
- Simple ad management using Ad Entity Bundles and Drupal Blocks for Ad placements.
- Simple ad tracking
- Ad scheduling (planned)
The advertisement system is built dynamically so that both content providers (advertisement buckets) and statistics trackers can be extended by custom modules via the plugin API. A native provider and tracker are also provided as submodules.
The native tracker module implements two trackers:
- The "Local advertisement event tracker" tracks impressions/clicks immediately, which on high traffic sites can result in significant additional load for the web servers.
- The "Queue-based local advertisement event tracker" tracks data via a queue, so events will only actually appear in the statistics display section after running cron or after manually processing
ad_track_queue.
Note, that there is NO upgrade path from 4.x => 11.x!
Requirements
This module requires the following modules:
- No dependencies
Optional
- Scheduler - Required when using the "Advertisement scheduler" submodule.
Installation
Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Configuration
After the installation, you need to install an advertisement content provider (e.g., the "Advertisement content" submodule) in order for the system to work.
If you install the native "Advertisement track" tracker module, the tracker will work out of the box. In case you want to install a custom statistics tracker, perform the following steps to enable it:
- Go to Configuration » Content authoring » Advertisement settings.
- Select the tracker that you want to use for each advertisement content provider that you installed (the native tracker module will enable itself automatically here).
After that, you can place one or more advertisement blocks in your block layout, which will then display the randomly chosen ads. In order for ads to be shown in a block, their selected size must match that of the block!
Supporting this module
Support DROWL's ♥ FOSS work on this module on OpenCollective!
Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!
We're committed to building and maintaining Drupal modules that benefit the entire community.
Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!
If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.
Support our FOSS development ♥️
You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!
Let's make Drupal even better, together!
Alternatives
- The https://www.drupal.org/project/simpleads module is a valid alternative. Maybe both should join forces in the future.
Development proudly sponsored by German Drupal Friends & Companies:
webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)