Google Ad Manager
toemaz - August 27, 2008 - 21:19
This module enables you to easily configure Google Ad Manager Ad Slots for Drupal. Each defined Ad Slot becomes a block and can be added to a region.
Installation instructions
- Copy the 'google_admanager' module directory in to your Drupal sites/all/modules directory as usual
- Go to admin/settings/google_admanager and fill in the form (find your ca-pub code)
- For each submitted Ad Slot name, you will get find a block at admin/build/block which you can add to a region
- Add the following code in template.php file or adjust _phptemplate_variables($hook, $vars) if it's already in
<?php
function _phptemplate_variables($hook, $vars) {
if ($hook == 'page') {
if (module_exists('google_admanager')) {
$vars['scripts'] .= google_admanager_add_js();
}
return $vars;
}
return array();
}
?>
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.0 | 2008-Nov-24 | 8.24 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-1.2 | 2008-Dec-13 | 8.17 KB | Download · Release notes | Recommended for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2009-Nov-01 | 8.39 KB | Download · Release notes | Development snapshot | |
