You are here

README.txt in DFP Small Business (Google Ad Manager) 5

Same filename and directory in other branches
  1. 6.3 README.txt
  2. 6 README.txt
  3. 6.2 README.txt
  4. 7.2 README.txt
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
  1. Module: Google Admanager
  2. Author: Thomas Bonte
  3. Description
  4. ===========
  5. Adds the Google Admanager code to your website.
  6. Requirements
  7. ============
  8. Google Admanager account: https://www.google.com/admanager/
  9. Installation
  10. ============
  11. 1. Copy the 'google_admanager' module directory in to your Drupal
  12. sites/all/modules directory as usual
  13. 2. Go to admin/settings/google_admanager and fill in the form
  14. 3. For each submitted Ad Slot name, you will get find a block
  15. at admin/build/block which you can add to a region
  16. 4. Add the following code in template.php file or adjust _phptemplate_variables($hook, $vars) if it's already in
  17. function _phptemplate_variables($hook, $vars) {
  18. if ($hook == 'page') {
  19. if (module_exists('google_admanager')) {
  20. $vars['scripts'] .= google_admanager_add_js();
  21. }
  22. return $vars;
  23. }
  24. return array();
  25. }
  26. Support
  27. =======
  28. Offcial Drupal project page
  29. http://drupal.org/project/google_admanager
  30. File a bug or support request at
  31. http://drupal.org/project/issues/google_admanager