Google Ad Manager Plugin Installation and Usage
Written by Andreas Berger   
Saturday, 29 November 2008 19:59

A step for step tutorial on how to install and use the bretteleben.de Google Ad Manager Plugin.

Installation

 

1.) Log into your administration interface


 

2.) Go to "Extensions" > "Install/Uninstall"


 

3.) Select the Package File with the Google Ad Manager Plugin


 

4.) Click "Upload file & Install"


 

5.) If everything worked fine, you get the message "Install Plugin Success"


 

6.) Select "Extensions" > "Plugin Manager"


 

7.) Find the "bretteleben.de Google Ad Manager Plugin" and click it


 

8.) The plugin expects only one parameter, your Google Ad Manager Publisher Id. In my case its ca-pub-"16digits".

If you are uncertain: If you tell the Google Ad Manager to produce Sample-HTML code, this code includes your Publisher ID.

Addition: If you don´t use Google Ad Manager yourself (i.e. sell your ad space to somebody using Google Ad Manager), this will be the Publisher-ID of one of your (probably the most important) customers. The Publisher-ID set here is available on every page, the assignment of a special AdSlot to a publisher is done with the Publisher-ID you set in the call in your article (described later) or in the respective instance of the module.


 

9.) Insert your Publisher Id


 

10.) Activate the plugin


 

11.) Click "Save" - done


 

 

 

Usage

The plugin has to be installed and activated for the Google Ad Manager Module to display Ad Slots on module positions. Besides it allows to display Google Ad Manager Ad Slots within content items. The procedure is as follows:

 

1.) Go to "Article Manager" and open the article you want to display the Ad Slot.


 

2.) At the place you want the Ad to be shown insert the code to call it.

 

The code consists of the call {*begam}{/begam*} (without the asterisks) plus up to four sections with variables. The sections are separated by forward slashes "/".

Section 1 (required): Your Google Ad Manager Publisher Id. In my case ca-pub-"16digits".

Addition: If you integrate an AdSlot of another Publisher (i.e. sell your ad space to somebody using Google Ad Manager), this will is the Publisher-ID you get with the SlotName.

Section 2 (required): The Google Ad Manager AdSlotName: e.g. MySite_Left_200x200

The complete call may look such as:

{*begam}ca-pub-XXXXXXXXXXXXXXXX/MySite_Left_200x200{/begam*} - without the asterisks


 

3.) The third section is optional and may contain custom Ad Manager target-attributes that influence ad selection. For further information on these parameters please refer to the Google Ad Manager Help.



A custom target-attribute always consists of two parts, the attribute and the value.
They are declared following the scheme: Attribute "comma" Value. E.g.:

Gender,Male

To use more than one attribute, separate them with a semicolon ";":

Gender,Male;AgeRange,18To24

The complete call using custom target-attributes may look such as:

{*begam}ca-pub-XXXXXXXXXXXXXXXX/MySite_Left_200x200/Gender,Male;AgeRange,18To24{/begam*} - without the asterisks


 

4.) The fourth section is optional and may contain custom Ad Manager page-level attributes and/or custom Ad Manager slot-level attributes.
For further information on these parameters please refer to the Google Ad Manager Help.



A custom page-level attribute always consists of two parts, the parameter and the value.
They are declared following the scheme: Parameter "comma" Value. E.g.:

google_color_bg,FF0000

To use more than one attribute, separate them with a semicolon ";":

google_color_bg,FF0000;google_color_link,00FF00

The complete call using custom target-attributes and page-level attributes may look such as:

{*begam}ca-pub-XXXXXXXXXXXXXXXX/MySite_Left_200x200/
Gender,Male;AgeRange,18To24/google_color_bg,FF0000;google_color_link,00FF00{/begam*} - without the asterisks


 

5.) A custom slot-level attribute always consists of three parts, the AdSlotName, the parameter and the value.


They are declared following the scheme: AdSlotName "comma" Parameter "comma" Value. E.g.:

MySite_Left_200x200,google_color_bg,FF0000

To use more than one attribute, separate them with a semicolon ";":

MySite_Left_200x200,google_color_bg,FF0000;MySite_Left_200x200,google_color_link,00FF00

The complete call using custom target-attributes, page-level and slot-level attributes may look such as:

{*begam}ca-pub-XXXXXXXXXXXXXXXX/MySite_Left_200x200/Gender,Male;AgeRange,18To24/
google_color_bg,FF0000;MySite_Left_200x200,google_color_link,00FF00{/begam*} - without the asterisks

Page-level attributes and slot-level attributes are declared in the fourth section. The order has no relevance. They are detected from the plugin by the number of passed elements (two for page-level, three for slot-level).


 

6.) IMPORTANT!!!



To use page-lkevel or slot-level attributes without using target-attributes you have to declare an empty third section, otherwise the plugin will not be able to execute the call correctly.

In this case, the second section (AdSlotName) is followed by 2 forwadr slashes!

The complete call using page-level and slot-level attributes but no custom target-attributes may look such as:

{*begam}ca-pub-XXXXXXXXXXXXXXXX/MySite_Left_200x200//google_color_bg,FF0000;
MySite_Left_200x200,google_color_link,00FF00{/begam*} - without the asterisks


 

7.) Save - done!


That´s it, have fun with the plugin!

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.

 

Last Updated on Sunday, 05 April 2009 13:33
 
Comments (13)
Last week question
13 Monday, 18 October 2010 15:59
Eric

Hi Andreas


Did you receive the last week email and have a chance to answer my question, My email is hulun DOT young AT gmail DOT com. I am using your plug of Google Ad but it can not work in my website http://www.ebuydiscount.com/


Your early reply is highly appeciated


Eric


 


 


 

@Eric
Monday, 18 October 2010 21:00
A. Berger
continue my ad can not show up
12 Saturday, 16 October 2010 10:48
Eric

Also, in my page I put two ads, one is in the Joomla! Community Portal article and other one is under Advertisement section

I have some problems to show the ads
11 Saturday, 16 October 2010 10:42
Eric

Hi Andrew

I downloaded and installed the module. I used your pid and adslot, then the google adsence worked succesfully

After then I change to my pid and adslot. it hasn't worked anymore my website is http://www.ebuydiscount.com/ and my google manager ad look like as follows, could you help to see what's my problem the ad can not be show? By the way, my website show me
Publisher ID: pub-6931281578092212 and AdSense for Content: ca-pub-6931281578092212 I don't know I am using the correct one ca-pub-6931281578092212 as pid you define in your code.

Thanks!

@Eric
Monday, 18 October 2010 20:58
A. Berger

Hi Eric!

The plugin+module cannot be used with AdSense directly but allow to use the Google Ad Manager (recently renamed to "DFP" - DoubleClick for Publishers), a free AdServer with Joomla!

Best regards
Andreas

Not working
10 Wednesday, 08 September 2010 01:53
Bill R.

I left you an earlier message. I'm still trying to figure everything out. I installed the module and plugin, but never enabled the plugin. I thought that might be the problem. So, I went in and enabled the plugin also.
That didn't make things work, but it did make the text disappear that I saw previously. Before I enabled the plugin, I saw {*begam} my id {/begam*} without seeing any ads. Now, I see nothing, but the site appears to be contacting Google.
So, I thought maybe I needed to create an article with the plugin, so I am trying to create an article with the appropriate call. Not exactly sure what is needed. It is my pubXXXXXXXXXX/Google Ad Slot number?
I guess at this point, I just don't get this. I don't understand how the module and plugin are supposed to be used. I thought I could use the module without creating an actual article using the plugin, but now I just don't understand ANYTHING about how this is supposed to work!

@Bill R.
Thursday, 09 September 2010 21:38
A. Berger

Hi Bill!

This extension (Plugin+Module) is developed to allow the usage of DoubleClick for Publishers (former Google Ad Manager) with Joomla.
DoubleClick for Publishers (DFP) is an AdServer. Google AdSense is an option within this AdServer to fill unsold inventory. Of course you can use it to display AdSense Ads only too. Anyway - this is not an extension you can use to display GoogleAdsense Ads directly. It only works with DFP as stated at the page of this extension (http://www.bretteleben.de/lang-en/joomla/google-anzeigenmanager-plugin-und-modul.html ) :
"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."

About DFP/Google Ad Manager:
http://googleadmanager.blogspot.com/
https://www.google.com/dfp/info/welcome.html

Best regards
Andreas

Really confused now!
Thursday, 09 September 2010 20:47
Bill R

I don't know anything about DFP. I still manage everything through my Google AdSense account. These codes work on my existing sites, and if I just create a test page locally and try it. You are saying that with your application, a regular Google Ad account won't work, and I have to use some DFP accounht settings, going to some admin site I've never used before?


So everyone using your plugins with a legacy Google accounts has to change over to DFP, because it won't work with legacy accounts any longer???

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

Hi Bill!

Since the Google Ad Manager was renamed to DFP (DoubleClick for Publishers) your PublsiherID is the "Property Code" you find in your DFP-Interface at the tab "Settings -> Network".

Best regards
Andreas

Ad not appearing
9 Tuesday, 08 June 2010 22:47
Kev

Hi Andreas,


I have enabled the module and the plugin on my site, and populated GAM Publisher IDs and GAM AdSlot ID but my ad still doesn't appear.  I copied the ids straight from my Adsense unit code so they are definitely correct!
The site is www.whereismytenner.com
I don't have any experience with this so I may have missed something obvious!?
Can you help?

Thanks,
Kev

@Kev
Monday, 14 June 2010 19:06
A. Berger

Hi Kev!

At first, sorry for the late response.
About your problem - please don't use the AdSense Unit Code but the DoubleClick for Publishers (GoogleAdManager) AdSlot name.

Best regards
Andreas

doesn't work for me
8 Monday, 03 May 2010 19:59
Avanox

hey,


I followed the steps but it doesn't show anything??
What do I wrong?

@Avanox
Monday, 03 May 2010 20:25
A. Berger

Hi Avanox!

Hard to tell given this overwhelming richness of information. :)
How about a link to the site?

Best regards
Andreas

@Hasan
7 Sunday, 07 February 2010 22:41
A. Berger
Hi Hasan!

Please make sure that the AdSlots you are using really exist in your Google Ad Mananger Account.
If I add ?google_debug to e.g. http;//bretteleben.de and check the output, every fetched call (Issuing fetch ads call with ....) is followed by a confirmed response from the AdSlot (Confirmed response for slots ...). This is not happening when trying the same with http://www.urdujunkt.com/?google_debug which means - as far as I know - that the slots don't exist (Typos, wrong Publisher ID, ..).

The plugin (and the module) at least are working fine. There job is to place the correct code in your page and - have a look at the sourcecode - that's what they do.

Best regards
Andreas
not working
6 Sunday, 07 February 2010 22:09
Hasan
Now see, I removed manual Google add. Module and plugin are installed and I used 2 adds one for plugin and other from Module. I can see in the code that slots are and related this are fetched but banners are not displayed on it. visit www.urdujunkt.com. Thanks in advance for your kind help.
@Hasan
5 Saturday, 06 February 2010 19:10
A. Berger
Hi Hasan!

Seems to work fine meanwhile, what has been the problem?

Best regards
Andreas
not working
4 Friday, 05 February 2010 23:58
Hasan
I am using it as but nothing is happening. I have installed plugin + module as well. you can have a look on www.urdujunkt.com
English
Panoramic Image Viewer
Follow me on Google+

bretteleben.de

Add to circles

Who's Online
We have 42 guests online