Home WordPress Google Ad Manager Plugin
2010-02-09
Main Menu
external Links
Most Read
Support

If you like the products on these pages, your support is highly appreciated. Thank you very much!

Amount: 

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 WordPress

The 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.
Also it comes with full support for custom targeting [GA_googleAddAttr(key, value)], page-attributes [GA_googleAddAdSensePageAttr(param, value)] and slot-attributes [GA_googleAddAdSenseSlotAttr(slotname, param, value)].
For further information on these parameters please refer to the Google Ad Manager Help.

Installation and Usage

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

Compatibility

The 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.
I suggest a test run before using it on a live site and stand by for your questions and suggestions.

License

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

update Version: 1.1.0

Version 1.1.0 - 2009-09-05
- uses "register options" and now works with WordPress MU too

Version 1.0.0 - 2009-01-17
- custom targeting supported
- page-level attributes supported
- slot-level attributes supported
- initial JavaScript-Tags pass validation
- changes in readme.txt

Version 1.0.0beta - 2009-01-01

Miscellaneous

I 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.

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

Download

The Plugin can be downloaded at wordpress.org/extend/plugins/wp-google-ad-manager-plugin .

Last Updated ( Saturday, 26 September 2009 12:04 )
 
Comments (13)
@Art
13 Tuesday, 22 December 2009 23:27
A. Berger
Hi Art!

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
Google Ad Manager for WPMU
12 Tuesday, 22 December 2009 22:41
Art
Hello,

Have any of you guys tried this plugin over WPMU-powered sites?

Please let me know,

Art
@David North
11 Thursday, 15 October 2009 20:53
A. Berger
Hi David!

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
Public Service Ads
10 Thursday, 15 October 2009 03:27
David North
Thanks for your help.

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
@David North
9 Wednesday, 14 October 2009 20:59
A. Berger
Hi 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
Geting Public Service Ads
8 Wednesday, 14 October 2009 04:06
David North
Hi,

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?
My code didn't show
7 Tuesday, 06 October 2009 07:06
Rick
haha, the comment box ate my code,



vs
Comment is space sensitive
6 Tuesday, 06 October 2009 07:04
Rick
Hi Scott,

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
Perfect!
5 Wednesday, 02 September 2009 16:18
Jason Cooper
Hi - thank you for that new plugin. Works very well!

I have a screenshot I was going to send you but there's no where to attach it

Once again - many thanks!

Jason
@Jason Cooper
4 Tuesday, 01 September 2009 21:53
A. Berger
Hi 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