| WordPress: Google Ad Manager Plugin |
| Written by Andreas Berger |
| Thursday, 01 January 2009 15:22 |
|
The bretteleben.de "WP Google Ad Manager Plugin" for WordPress allows to use the Google Ad Manager with WordPress . It gives you the possibility to add ads to your posts, widgets and template. bretteleben.de "WP Google Ad Manager Plugin" for WordPressThe bretteleben.de "WP Google Ad Manager Plugin" works with WordPress 2.7.x and 2.8.x. It allows to integrate Google Ad Manager Ad Slots into your posts, widgets and directly into your template. Installation and UsageA step by step tutorial on installation and usage can be found at Howto Plugin . CompatibilityThe plugin is tested successful with WordPress 2.7.x and 2.8.x. Anyway, using them aside with one or another existing plugin/modul/component may bring to light problems i haven't foreseen. LicenseThe plugin is licensed under the GNU Public License (www.gnu.org/copyleft/gpl.html). update Version: 1.1.0Version 1.1.0 - 2009-09-05 MiscellaneousI am happy about everybody who takes the time to vote for this plugin at wordpress.org or gives me a link back to www.bretteleben.de on his website, this way helping me to popularize the plugin. The plugin itself does not produce any hidden links, eastereggs or whatever. DownloadThe Plugin can be downloaded at wordpress.org/extend/plugins/wp-google-ad-manager-plugin . |
| Last Updated ( Saturday, 26 September 2009 12:04 ) |


I have no multi-user environment up and running but according to Jason Cooper (comment no.5) the update version works fine with WPMU.
Best regards
Andreas
Have any of you guys tried this plugin over WPMU-powered sites?
Please let me know,
Art
Have you checked your site if there are changes to Adsense Ads? Have a look at changes due to the sites stylesheet, because CSS offers the potential to modify these elements. The Plugin itself does not, it just inserts the JavaScript code, needed by GAM according to your settings (slots). No danger from this side.
About the usage of the fields 7 to 9, they are different from the fields 1 to 6 because for the fields 7 to 9 the plugin checks how many different slots you have set in one of these fields and - if a field is called multiple times - each set slot from 1 field is called only once.
Set 3 slots in field 7, use field 7 at the end of your posts and the first 3 posts on your pages will contain an AdSlot. Set 5 slots and the first 5 posts will show an AdSlot. As said, every slot is called only once. This behavior allows you to use 1 field in your code - and show as many different slots you want (Howto Plugin > Setup > Pt.3).
Best regards
Andreas
I have ask Google support for more help and information.
Here is what they said in the original email response:
As stated in the AdSense program policies, publishers are not allowed to
alter the AdSense ad code for any reason. Once you've generated the ad
code in your AdSense account pages, you may not alter any portion of the
code or manually change the layout of the ads. For instance, publishers
may not alter the ad height variable to mask the Ads by Google moniker.
On your advise on the duplicated ads. I guess I need to add Google add slots for as may post as I might have on a page if I want to put them at the end of each post in the list and then put the codes all in the S7. Is that correct?
Thanks for your help.
David
Please have a look at the source of your homepage and compare the code, the plugin generates to the example code at:
http://www.google.com/support/admanager/publisher/bin/answer.py?hl=en-uk&answer=112649
There is only one point to mention: Slot 3922976333 is called twice. To prevent this from happening, use the Parameters S7 to S9 for slots you are calling more then one times (e.g. in your posts). These parameters take as many slot names you want, separated by commas and allow the plugin to call different slots when there is more than 1 article on a page.
It is your turn to make sure, that you do not exceed the maximum allowed AdSense Slots by using slots you target with third party campaigns. (But this is not the plugins business :))
Beside of the slot called twice, you will see that the generated code is exactly as it should be, so - whatever the problem is - it is not caused by the plugin. Please report this to the people you already contacted by email and ask them for information, where they see a mistake on your side. If you get additional information - please let me know.
Best regards
Andreas
I have a site http://www.michellecookseveryday.com
I have been using the Ad Manager Plugin since the first of the year and it has been working fine. Several weeks ago I started getting Public Service Ads on my site. I had reached the $10 amount with Google and so I got the PIN and entered it. I was still geting PSAs. I contacted Google and after several eamil excahnges they say I have modified the code for Adsens on my site (ie. the code you are generating does not match what they expected in some way)
I have the current version of WordPress 2.8.4 and your plug in 1.1.0.
I have the short codes in two text widgets on the side bar (one with a Div tag to control padding) and I also have them showing up at the end of the first post on the home page.
Any ideas on how to fix this?
vs
I just found out that the comment is space sensitive, meaning wouldn't work, it should be written as
That might be the problem you're encountering =)
Thanks for the great plugin Andreas!
Rick
Azure Web Design
http://azurewebdesign.com
I have a screenshot I was going to send you but there's no where to attach it
Once again - many thanks!
Jason
Thanks for your reminder. The reason for this error is that WP MU requires plugins to register their options, something that is announced for future Wordpress versions, but not already implemented.
I don't have a MU installation running, so the update I just uploaded is tested with WP2.7 and WP2.8 standard installations only. With them it runs fine. Therefore it is - up till now - online only here and you would do me a favour, testing the updated version and report if it works and solves the problem.
Best regards
Andreas