README.txt in DFP Small Business (Google Ad Manager) 5
Module: Google Admanager
Author: Thomas Bonte <www.thomasbonte.net>
Description
===========
Adds the Google Admanager code to your website.
Requirements
============
Google Admanager account: https://www.google.com/admanager/
Installation
============
1. Copy the 'google_admanager' module directory in to your Drupal
sites/all/modules directory as usual
2. Go to admin/settings/google_admanager and fill in the form
3. For each submitted Ad Slot name, you will get find a block
at admin/build/block which you can add to a region
4. Add the following code in template.php file or adjust _phptemplate_variables($hook, $vars) if it's already in
function _phptemplate_variables($hook, $vars) {
if ($hook == 'page') {
if (module_exists('google_admanager')) {
$vars['scripts'] .= google_admanager_add_js();
}
return $vars;
}
return array();
}
Support
=======
Offcial Drupal project page
http://drupal.org/project/google_admanager
File a bug or support request at
http://drupal.org/project/issues/google_admanager
File
README.txt
View source
- Module: Google Admanager
- Author: Thomas Bonte
-
- Description
- ===========
- Adds the Google Admanager code to your website.
-
- Requirements
- ============
- Google Admanager account: https://www.google.com/admanager/
-
-
- Installation
- ============
- 1. Copy the 'google_admanager' module directory in to your Drupal
- sites/all/modules directory as usual
- 2. Go to admin/settings/google_admanager and fill in the form
- 3. For each submitted Ad Slot name, you will get find a block
- at admin/build/block which you can add to a region
- 4. Add the following code in template.php file or adjust _phptemplate_variables($hook, $vars) if it's already in
-
- function _phptemplate_variables($hook, $vars) {
- if ($hook == 'page') {
-
- if (module_exists('google_admanager')) {
- $vars['scripts'] .= google_admanager_add_js();
- }
-
- return $vars;
- }
- return array();
- }
-
-
- Support
- =======
- Offcial Drupal project page
- http://drupal.org/project/google_admanager
-
- File a bug or support request at
- http://drupal.org/project/issues/google_admanager