| 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 on Saturday, 26 September 2009 12:04 |


Have you encountered issues with Wordpress 3.0 sofar?
Hi Tamir!
No, up till now everything seems to work fine :)
Best regards
Andreas
Just curious, the ads included in the posts, will they show up in the RSS feed?
Guess I can try it and find out...
Thanks
Tom
Hi Tom!
Google Ad Manager uses JavaScript to deliver so - I don't think so.
Best regards
Andreas
I have WP installed and your plugin installed. I need to be able to pull a different ad slot for each category. Is there a way to do this. So i add a bit of code to sidebar widget. If this sidebar is loaded in Category 1 i need it to pull an ad slot. If this sidebar is loaded in Category 2 i need a different ad slot loaded. I have about 18 categories. I would like to be able to sell ads (that will be put in ad slot) in each category specifically. Can I do this with your plugin??? If so, how?
Thanks so much for your help.
Mark
Hi Mark!
The are different approaches to achieve this. One would be to use the same AdSlot but set up the different Line Items using custom- or freeform-targeting. Another is - as you suggested to use different AdSlots. The first way is the one I would prefer because it is more flexible.
Anyway, in both cases you have one problem, you have to deliver a value to GAM (either the targeting or the name of the AdSlot) that should be created dynamically.
The plugin up till now does not come with predefined routines to achieve this, but - thinking of a sidebar - this could be relatively easy achieved with a small PHP-script (inserted directly into the template) that processes the page URL and inserts the code for the GoogleAdManager Plugin directly into the page. The plugin will do the rest.
Best regards
Andreas
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