Google Admanager Integration
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 Spoiler (click to open)
Google Admanager > Inventory > https://www.google.com/admanager/editTargetingCriteria
Targeting Key: usergroup Copy & paste: Code:
1 2 3 4 5 6 Targeting Key: script Copy & paste: Code:
index showthread forumdisplay Targeting Key: forum Copy & paste only this forum structure you get here: www.yourforum.com/misc.php?do=admanager Login as administrator Code:
&d=1226156225" data-lightbox="Screenshots" id="attachment89122 Close
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
product-admanageri.xml (3.6 KB, 241 downloads) Screenshots |
Similar Mods
Google Search Integration v1.0 | vBulletin 3.0 Full Releases |