Home Joomla Google Ad Manager Plugin und Module
Joomla: Google Ad Manager Plugin and Module
Written by Andreas Berger   
Wednesday, 12 November 2008 22:53

The "bretteleben.de Google Ad Manager Plugin" and the "bretteleben.de Google Ad Manager Module", both for Joomla 1.5, allow you to use the Google Ad Manager (now DoubleClick for Publishers) with Joomla. The plugin has to be installed and activated, it does the real work. Besides, it allows you to publish Ads, delivered by DFP (Google Ad Manager) within content items. The module allows to display Ads, delivered by DFP (Google Ad Manager) in module-positions.

 

New in Version 1.1.0:

- support for multiple Publisher-IDs

Google Ad Manager offers the possibility to use multiple Publisher-IDs on a page and doing so show Ads from different Publishers that make use of DFP (Google Ad Manager). If you use DFP (Google Ad Manager) to organize and display Google AdSense, Ads from Affiliate Networks and direct sold Ads, this feature will not be of interest for you.
It is of importance e.g. if you don´t use DFP (Google Ad Manager) yourself but want to show Ads on your pages, you get from different People (or companies) that make use of DFP (Google Ad Manager).
I don´t want to let unmentioned, that this feature is described as a workaround with the potential to create problems by Google (in the DFP/Google Ad Manager support forum).
As it is my goal to reproduce to complete functionality DFP (Google Ad Manager) offers with this extension, I add the feature anyway.
How to use it, is described in the HowTo´s.

"bretteleben.de Google Ad Manager Plugin" for Joomla 1.5

The "bretteleben.de Google Ad Manager Plugin" works with Joomla 1.5.

It allows to display DFP (Google Ad Manager) Ad Slots within content Items.
It supports DFP (Google Ad Manager) page-level attributes that influence ad selection, AdSense parameters passed to the current page and AdSense parameters passed to the current slot.
For further information on these parameters please refer to the DFP (Google Ad Manager) Help.

Installation and Usage

A step by step tutorial on installation and usage can be found at Howto Plugin .

 

 

"bretteleben.de Google Ad Manager Module" for Joomla 1.5

The "bretteleben.de Google Ad Manager Module" works with Joomla 1.5.

It allows to display DFP (Google Ad Manager) Slots on module positions.
It supports DFP (Google Ad Manager) page-level attributes that influence ad selection, AdSense parameters passed to the current page and AdSense parameters passed to the current slot.
For further information on these parameters please refer to the DFP (Google Ad Manager) Help.

Installation and Usage

A step by step tutorial on installation and usage can be found at Howto Module .


Demo

bretteleben.de uses plugin and module to display Ads.

Limitations/Todo

Support for iframe-tagging has to be done.

Compatibility

Plugin and module are tested successful with Joomla 1.5.6 and 1.5.7. Anyway, using them aside with one or another existing plugin/modul/component may bring to light problems i haven't foreseen.
Again I suggest a test run before using it on a live site and stand by for your questions and suggestions.

License

The plugin and the module are licensed under the GNU Public License (www.gnu.org/copyleft/gpl.html).

update Version Plugin: 1.1.0

Version 1.0.0 - 2009-04-03

- multiple Publisher-IDs supported

Version 1.0.0 - 2009-01-15

- adopt the - updated by Google - initial Script-Tags which now pass W3C-Validation
- remove the surrounding DIV-Tag (class "begam") because Google uses Identities for its AdSlots

Version 1.0.0beta4 - 2008-11-29

- support for custom Google Ad Manager target-parameters
- support for custom Google Ad Manager page-parameters
- support for custom Google Ad Manager slot-parameters

Version 1.0.0beta3 - 2008-11-16

- removed default value for GAM pubid

Version 1.0.0beta2 - 2008-11-14

- the plugin has to be installed as system-plugin to work on pages like contact, weblinks, search -> fixed.
If you have already installed the first beta, please un- and reinstall!

Version 1.0.0beta - 2008-11-12

update Version Module: 1.1.0

Version 1.0.0 - 2009-04-03

- multiple Publisher-IDs supported

Version 1.0.0 - 2009-01-15

- correct typos

Version 1.0.0beta4 - 2008-11-29

- support for custom Google Ad Manager target-parameters
- support for custom Google Ad Manager page-parameters
- support for custom Google Ad Manager slot-parameters

Version 1.0.0beta3 - 2008-11-16

- removed default value for GAM pubid

Version 1.0.0beta - 2008-11-12

Support

If you have questions or suggestions, please use the comment-function. Records about the behavior of this extension (positive or negative) are most welcome.

If you use this extensions, you have the possibility to post a rating and a review at joomlaos.de or extensions.joomla.org. Furthermore I appreciate everyone, supporting me with a link back to www.bretteleben.de on his/her website. The extension itself does not produce any hidden links, eastereggs or whatever.

Download

The ZIP-archives contain the plugin respectively the module, by downloading it you agree to the terms of the GNU Public License. The ZIP-Archives can be used for both, upgrade and fresh installation.

Downloads:
FileLast Modified
Download this file (mod_begam_1.1.0.zip) mod_begam_1.1.0.zip2009-04-04
Download this file (plugin_begam_1.1.0.zip) plugin_begam_1.1.0.zip2009-04-04
Last Updated on Tuesday, 30 November 2010 21:34
 
Comments (7)
Do you have plans to create a Joomla 1.7 version?
7 Thursday, 10 November 2011 07:38
FlipFlopper

Hi. We're using Joomla 1.7 and need something that allows us to use Doubleclick for Publishers. Do you have any plans to release a version for Joomla 1.7 and if so, can you provide an estimate when that may be available?

We cannot find any other Joomla 1.7 extension that will work with DoubleClick for Publishers and would happily buy your product if it were updated.

Thanks.

@FlipFlopper
Thursday, 10 November 2011 22:12
A. Berger

Hi FlipFlopper!

Yes, I already started updating the J!1.5 version to use the new Tags (GPT Tag) and this updated version will be available for Joomla!1.7 too.
An estimate? Within the next three weeks - if everything works out :)

About your offer: There is a PayPal button and donations are welcome but the extension will stay non-commercial.

Best regards
Andreas

Cannot get Google Ads to show
6 Monday, 29 November 2010 13:02
Rick

I think I did everything correctly, but the lack of a Google Ad on the page says otherwise.

In AdSense (Adsense for Content) I have the following code:

google_ad_client = "pub-xxxxxxxxxxxxxxxx";
/* 300x250, created 11/29/10 */
google_ad_slot = "zzzzzzzzzz";
google_ad_width = 300;
google_ad_height = 250;

Instead of xxxxx's and zzzzzz's there are actual numbers of course. In the GoogleAd extension I entered the ca-pub-xxxxxxxxxxxxxxxx and in the GAM ad slot, I entered the zzzzzzzz numbers. The google ad area is blank. I also placed the name of the ad which was "right-side-banner" but it is still blank...

Any ideas?

@Rick
Tuesday, 30 November 2010 21:31
A. Berger

Hi Rick!

Please make sure that you are using the values from your GoogleAdManager (now called DoubleClick for Publishers - DFP)-Account. The Plugin and module allow to use DFP (former GoogleAdManager) with Joomla!, they are not meant to be used with AdSense directly.

Best regards
Andreas

Not Working
5 Thursday, 09 September 2010 20:31
Bill R.

Yes. I realized they both need to be installed and enabled. I think I said I enabled the plugin in a second email. Anyway, everything is installed and enabled, and I can't get either the module to work, or the plugin to work.


I've tried using the module, and assigning it to a position. I can see the title (I have it enabled for testing), but no Google Ads.I then disabled the module and tried the plugin (plugin was always enabled). I modified the content for a certain position to include the {begam{ID/SLOT{/begam} codes, but still nothing shows up.

@Bill R.
Friday, 10 September 2010 17:01
A. Berger

Hi Bill!

You are of course right, an update is overdue. Anyway, please notice that the documentation from the beginning talks about "Google Ad Manager" and an "Google Ad Manager Account".

Best regards
Andreas

Strange Behavior
Friday, 10 September 2010 14:01
Bill R.

Thanks for your replies. I'm not sure what I will do long-term, but at least I know how I can get things to work for now. One suggestion for you though. If your extensions require/depend on a DFP account, then you should re-write all of your documentation. All your documentation and examples talk about the legacy Google Ads, and there is no mention of a dependency on DFP or anything else. Your examples, documentation, and even the fields in the modules and plug-in itself do not seem to reflect what you have been advising in the last few responses about the need for a DSP ID instead of a Google AdSense publisher's ID - for exmaple. It's very confusing to go down a certain path, and then be told it is all wrong. Thanks!


Bill

@Bill R.
Friday, 10 September 2010 13:34
A. Berger

Hi Bill!

Whatever causes this strange behavior, my advice is: If you don't have a DoubleClick for Publishers account you want to use to display ads on your site, don't use this extension.

Best regards
Andreas

This will be interesting!
Thursday, 09 September 2010 21:50
Bill R.

OK. I wanted to try something else, so I downloaded another person's module that works similarly to yours. You just assign the module to a location on the site, and that's where a Google Ad displays, without the need for insertion in an article. Here is what happened. It's really strange!


1. Your module and plug-in enabled = No ads show.


2. Only your plug-in enabled = No ads show.


3. Your module and plug-in enabled + other guy's module enabled = Both modules display ads, but plug-in ad does not show.


4. Only your plug-in enabled + other guy's module enabled = His module displays ad AND your PLUG-IN displays ad. Your module does not display and ad.


*** So, the only way I can get a module-position ad AND an ad in an article to work is to use HIS module and YOUR plug-in!


I don't know what's going on at this point! I would just use his module, but I think with your module (I may be wrong), I could have ads in multiple locations. I may be wrong about that though.

Problems getting this to work
4 Wednesday, 08 September 2010 01:00
Bill R.

I have an existing site that I want to redesign in Joomla. This site already has Google Ads running, so I have an account and the two codes necessary for your module.
I installed the plugin and module, and then opened up the module and entered in the required codes, and chose a module position (Rockettheme's Solar Sentinel "Top Left" position). Then I enabled the module. All I see when I view the web page is: {*begam} my client id {/begam*}
I thought maybe it was because I was developing locally, but I can download my existing web page and run it locally, and Google Ads run fine.
Would this happen if the module position was too small for the Google Ads? If not, then what would cause only this to display? Thanks!

Regards,
Bill

@Bill R.
Wednesday, 08 September 2010 21:02
A. Berger

Hi Bill!

The module needs the plugin (installed and enabled) to work (Check the pages Howto Plugin and Howto Module).

Best regards
Andreas

updating for google iframe support
3 Saturday, 10 July 2010 06:53
ben

hi
any chance you might be able to update the plugin and module to support the iframe code from google?
If so i would love it, happy to pay. ben at roadcycling dot co dot nz


 


 

@Ben
Wednesday, 21 July 2010 19:15
A. Berger

Hi Ben!

Yes, I am able to do this but as long as the IFRAME-tagging is an option that get's enabled only by demand (that's at least what I know about this feature - please correct me if I'm wrong), I will probably wait and see if it get's a regular feature or the code get's reworked at all.

Best regards
Andreas

@Nick
2 Wednesday, 20 January 2010 23:40
A. Berger
Hi Nick!

You could either activate 2 modules one above the other and - in a next step - use the advanced parameter of the modules to add custom module-class-suffices and modify the stylesheet of your template to display this two modules without margin;

or you could install an extension that allows to use plugins in module positions (the page FAQ&Troubleshooting of the "CSS Gallery" and the "Very Simple Image Gallery" lists two examples of such extensions, but there are more of them listed at extensions.joomla.org) and use the plugin code of the "Google Ad Manager Plugin" twice within this module. Again, you will have to adjust your stylesheet.

If the code for the two Ad Slots is static (maybe the tag of an ad network), you could also upload a html-fragment with two divs, containing the code fragments, as a rich media creative in Google Ad Manager directly and deliver it as 1 slot. Of course this has the downside that you loose the possibility to track hits so I would suggest two use one of the first two possibilities (just didn't want to let this unmentioned).

Best regards
Andreas
Putting two ad slots next to each other in the same module.
1 Wednesday, 20 January 2010 23:24
Nick
Hi there, great plugin/module.

Ive got my ads to show, but what i want is to have a grid of 125x125 ads next to and above each other, like that of http://www.mashable.com down the right hand side.

Is there any way to show multiple ad slots within the same module?

Thanks.
English
Panoramic Image Viewer
Follow me on Google+

bretteleben.de

Add to circles

Who's Online
We have 48 guests online