2010-08-01
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 (17)
Ad not appearing
17 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
16 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
15 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
14 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
13 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
12 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
Working now!
11 Monday, 01 February 2010 04:24
Ademar Gomes
Hey man! Thanks! its working now. thank you for the help.
@Ademar Gomes
10 Wednesday, 27 January 2010 19:59
A. Berger
Hi Ademar Gomes!

The plugin works fine too, otherwise the slot at the module position would not show ads. The module does nothing more than to deliver the same kind of code to the plugin, you are delivering to the plugin from within an article.

Have a look at the source of your page and you will see that your second slot is present both in the scripts in the head of the page and the fillslot-script in the article.

Next, add ?google_debug to the URL of the page, reload and check the information google_debug delivers. Again you see - the information delivered from the page is fine. So - if everything is fine, where's the problem?

My suggestion is, that the slot name you are using (meio_de_artigo) does not correspond to an existing slot in your GAM account. Is this possible? The other slot on the page is called "4454107649" so - is it possible that meio_de_artigo is the name of a placement whilst the connected slot has an other name?

Best regards
Andreas
Help, the module works fine, the plugin doesnt :(
9 Wednesday, 27 January 2010 17:04
Ademar Gomes
Hello,

Ive installed the plugin and the module. In my site i could put the module to work in a side bar, though when i try to put an ad in any article it doesnt appear in the site. Im using {*begam}pub-0477968430594742/meio_de_artigo{/begam*} without the "*" and nothing happens. An example is here in the case u want to have a look.

http://www.ademargomes.com/index.php/artigos/67-integracao-do-birt-com-aplicacoes-e-sites.html



Thanks for our help.
Very good!!
8 Thursday, 24 December 2009 03:54
Ademar Gomes
Thanks a Lot!

Very good extensions!
English
Panoramic Image Viewer
AddThis Social Bookmark Button
Who's Online
We have 31 guests online
Latest Items