The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.
Google Admanager Integration This product targets ads to usergroup, script, forum. That way you can
1. Install product If you upgrade: Allow Overwrite: Yes 2. Change template headinclude If you upgrade please also do this. Add to end of this template: Code:
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js"> </script> <script type="text/javascript"> GS_googleAddAdSenseService("YOUR CA-PUB"); GS_googleEnableAllServices(); </script> <script language="JavaScript"> GA_googleAddAttr("usergroup", "$bbuserinfo[usergroupid]"); GA_googleAddAttr("script", "<if condition="THIS_SCRIPT =='index'">index</if><if condition="THIS_SCRIPT =='forumdisplay'">forumdisplay</if><if condition="THIS_SCRIPT =='showthread'">showthread</if>"); $admanagerforums </script> YOUR ADDSLOTS <script type="text/javascript"> GA_googleFetchAds(); </script> Configure Admanager like I write in #2 post in this topic. Version History 9.11.2008 1.2 Solved a bug for forum targeting 8.11.2008 1.1 Improved forum targeting. Forums are shown with real names. Unlimited forum levels supported. 1.11.2008 1.0 Forums are targeted by using forumids. 3 forum levels supported. Works with vbulletin 3.5, 3.6, 3.7, 3.8. This product works perfectly with vbSEO. This product doesn't make the vBulletin 3.8 implementation of Adsense work with admanager. Download Now
Show Your Support
|
Comments |
#12
|
||||
|
||||
![]()
I have updated this product:
9.11.2008 1.2 Solved a bug for forum targeting. If you upgrade, install product (overwrite: yes) and update headinclude template. Thanks. I hope this helps adressing forum targeting error. Long forum names are no problem as long as there are no two forum names that have same name after normalization. Google Admanager allows you to have up to 200 values per targeting criteria. You can just put the forums within admanager you like to track. Targeting usergroup and script works fine for me. Please note, that it takes up some really long time for admanager to adjusts custom targeting criterias. |
#13
|
|||
|
|||
![]()
How exactly is the adcode injected? I have a heavily modified forum - how does your script know where to place ads?
|
#14
|
||||
|
||||
![]() Quote:
|
#15
|
|||
|
|||
![]()
Hi Thorsten, this wasnt really my question but thanks al the same.
I know how the adcode is targetted, but how does the script know WHERE in the page to place the ads. Parts of my header are not definined in the header tempate. Parts of my navigation system are not defined in navbar template.... do you see what I am getting at here? Surely there needs to be some token or script in the exact place where you want the ads to appear?? Maybe I am missing something here, who knows. |
#16
|
||||
|
||||
![]() Quote:
#2 You must put admanagers adcode in your page where it should appear. Please note that you must do #1 and #2 to display ads for admanager. Regardeless if you use my mod or not. My mod only takes care of targeting criterias. As these criterias are displayed on headinclude, and headinclude is always fetched within header, all sites that are delivered from vbulletin have this mods targeting criteria included. Usergroup and Script are global values, so its no problem to put them in headinclude. Names of forums are not standard and therefore I have written this mod, which fetches them each time a site is presented. Hope I could answer your questions, if you have more questions, please ask! |
#17
|
||||
|
||||
![]()
Update. After waiting some time forum targeting finally works. Google Admanager takes really long time for custom targeting. After waiting for some days I can check my inventory with custom forum targeting.
|
#18
|
||||
|
||||
![]()
Thank you for this mod. I've just installed it and am wondering if anything needs adjusting for those of us running vbSEO?
For example, vbSEO rewrites forum names to this format... Code:
http://[my domain].com/cars-automobiles-forum/ I assume that you are doing your magic before vbSEO rewrites the URL (I haven't noticed any changes yet, but I've just installed). Or, should I rewrite the forum names using dashes before entering them into Google Admanager? Please advise. Thanks again. -- Rik |
#19
|
||||
|
||||
![]() Quote:
Quote:
It is very important to only import this normalized list of forum names! |
#20
|
||||
|
||||
![]()
Thank you for your reply. I'm glad no adjustments must be made for vbSEO.
I'm looking forward to seeing targeting results. Thank again. -- Rik |
#21
|
|||
|
|||
![]()
Has anyone tried this on 3.7?
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|