| 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 with Joomla. The plugin has to be installed and activated, it does the real work. Besides, it allows you to publish Ads, delivered by the Google Ad Manager within content items. The module allows to display Ads, delivered by the Google Ad Manager in module-positions.
New in Version 1.1.0:- support for multiple Publisher-IDsGoogle 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 Google Ad Manager. If you use 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 Google Ad Manager yourself but want to show Ads on your pages, you get from different People (or companies) that make use of 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 Google Ad Manager support forum). As it is my goal to reproduce to complete functionality 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.5The "bretteleben.de Google Ad Manager Plugin" works with Joomla 1.5. It allows to display Google Ad Manager Ad Slots within content Items. Installation and UsageA step by step tutorial on installation and usage can be found at Howto Plugin .
"bretteleben.de Google Ad Manager Module" for Joomla 1.5The "bretteleben.de Google Ad Manager Module" works with Joomla 1.5. Installation and UsageA step by step tutorial on installation and usage can be found at Howto Module .Demobretteleben.de uses plugin and module to display Ads. Limitations/TodoSupport for iframe-tagging has to be done. CompatibilityPlugin 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. LicenseThe plugin and the module are licensed under the GNU Public License (www.gnu.org/copyleft/gpl.html). update Version Plugin: 1.1.0Version 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 Version 1.0.0beta - 2008-11-12 update Version Module: 1.1.0 Version 1.0.0 - 2009-04-03 Version 1.0.0 - 2009-01-15 SupportIf 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. DownloadThe 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. |
| Last Updated on Wednesday, 13 January 2010 09:09 |


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
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
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
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.
The fact that Google serves PSAs to your main page is not caused by a bug/misconfiguration of the plugin/module. It (in most cases) is caused by the fact that the page has not been crawled yet or has not enough content to allow Google to serve targeted ads. The plugin (and module) are working fine, they deliver what Google Ad Manager serves, that's it.
Best regards
Andreas
To solve your problem, you have to get Joomla! and GAM to work together.
1.) One instance of the Module activate for every page except the homepage (see Howto Module, Section "Installation and Usage", Point 14)
2.) the second instance activate for the homepage only
3.) in the setting of the second instance add a custom targeting parameter (see Howto Module, Section "Optional Parameters", Point 2). Call it e.g. "pagename" and set the value "homepage" (please don't copy the quotes :))
4.) in your GAM account, go to Inventory > Targeting and create a custom target "pagename" and set a value "homepage".
5.) still in your GAM account, go to the LineItem that holds the creative you don't want to get served on your homepage and add as targeting criterium for the LineItem your just created target: pagename ISNOT homepage.
Done, the second creative will show on every page of your site (through instance 1 of the module) except the homepage (through instance 2 of the module), because instance 2 delivers the custom target "pagename" with the value "homepage" that stops delivery. This works although both instances of the module are showing the same AdSlot.
Best regards
Andreas
Lösungsansatz: Verwende die Version 1.0.0.beta3 vom 16.11.2008. Diese entstand als Reaktion auf den von Dir angesprochenen Kommentar und hat keinen vordefinierten Präfix bei der Publisher-ID mehr.
Gib Deine Publisher-ID einfach zur Gänze ein, womit auch immer Sie beginnt.
Sowohl Modul als auch Plugin können als Upgrade über die Vorgängerversion installiert werden.
Gruss
Andreas
Danke für die Info. Ich war mir nicht im Klaren, ob die Identity einer einheitlichen Nomenklatur folgt - offensichtlich nicht.
Die beta3, die ich soeben hochgeladen habe, hat keine default-Werte mehr für die pubid gesetzt und überprüft diese auch nicht mehr auf das Vorhandensein des Präfix "ca-pub-".
Also: Identity bitte gesamt eingeben.
Gruss
Andreas