Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Google Admanager Integration Details »»
Google Admanager Integration
Version: 1.2, by ThorstenA ThorstenA is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.8.x Rating:
Released: 11-01-2008 Last Update: 11-08-2008 Installs: 40
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

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
  • address ads to these targets.
    Example: Target all users except moderators in your favorite forums on index and forumdisplay directly in Google Admanager! (see admanager.jpg)
  • Adsense Advanced Statistics. Have a detailed view which usergroups, scripts, forums bring best adsense results. You have a detailed view about all targeting values.
    Example: You see that your announcement forum has a CTR of 8% and an eCPM of 25 $. Unregistered users bring an eCPM of 15 $ while registered users only have an eCPM of 3 $.
By the way a maximum of 6 adsense ads are allowed, when using Google Adsense in combination with Google Admanager.

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>
3. Google Admanager Configuration
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

File Type: xml product-admanageri.xml (3.6 KB, 239 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-11-2009, 10:55 AM
Foxtrotelite Foxtrotelite is offline
 
Join Date: Mar 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, this may be a dumb post but here is my situation. I am running google adsens ads right now on my website. Basically I would like all usergroups excluding people who donate and are senior forum members to have the ads. Is this the mod for me? Will it let me speficify which groups will see ads and which will not?
Reply With Quote
  #33  
Old 02-11-2009, 11:36 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Foxtrotelite View Post
Okay, this may be a dumb post but here is my situation. I am running google adsens ads right now on my website. Basically I would like all usergroups excluding people who donate and are senior forum members to have the ads. Is this the mod for me? Will it let me speficify which groups will see ads and which will not?
With this product you can target ads for primary usergroups. Custom private groups are also supported. Are your donators in a custom primary usergroup?

Anyway, this product may be a bit "overkill" for just target ads to usergroups. You can do that with conditionals.
Reply With Quote
  #34  
Old 02-11-2009, 01:17 PM
Foxtrotelite Foxtrotelite is offline
 
Join Date: Mar 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes the donators are added as additional users to another custom usergroup
Reply With Quote
  #35  
Old 02-11-2009, 01:36 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Foxtrotelite View Post
Yes the donators are added as additional users to another custom usergroup
There are Primary custom usergroups and Secundary custom usergroups. Be sure they are in primary custom usergroup (so they are not in usergroup 2: registered users any more). You can also target secondary usergroups with this modification, it is a matter of five minutes.
Reply With Quote
  #36  
Old 02-11-2009, 02:29 PM
Foxtrotelite Foxtrotelite is offline
 
Join Date: Mar 2007
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the answers and quick replies
Reply With Quote
  #37  
Old 02-13-2009, 04:18 AM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it might be a tad off topic....I'm able to get all image ads served from GAM to show up inside actual forum posts. My issue is with text ads. Anybody have any tips or a way to serve them inside posts please ?
Reply With Quote
  #38  
Old 02-13-2009, 05:47 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abrecher View Post
I know it might be a tad off topic....I'm able to get all image ads served from GAM to show up inside actual forum posts. My issue is with text ads. Anybody have any tips or a way to serve them inside posts please ?
For text ads, go to Upload Creatives for and then choose: Creative Type: Rich Media. Then you can enter any html code you want, including text of course. Great to know is, that in "Rich Media" you can also enter another Google Admanager Placement code! That way you can put Google Admanager Adsense Placements in your Creative Types that are trackable within Google Admanager including all its analytic skills!

(added to FAQ)
Reply With Quote
  #39  
Old 02-13-2009, 05:55 AM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA View Post
For text ads, go to Upload Creatives for and then choose: Creative Type: Rich Media. Then you can enter any html code you want, including text of course. Great to know is, that in "Rich Media" you can also enter another Google Admanager Placement code! That way you can put Google Admanager Adsense Placements in your Creative Types that are trackable within Google Admanager including all its analytic skills!

(added to FAQ)
Thanks, I know how to create text ads in GAM ;-)

When I use the html output from GAM to show all the ads, only the image ads work within the posts an NOT the text ads ?
Reply With Quote
  #40  
Old 02-13-2009, 06:02 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abrecher View Post
When I use the html output from GAM to show all the ads, only the image ads work within the posts an NOT the text ads ?
Every ad types show up whereever you put them on vbulletin.
Reply With Quote
  #41  
Old 02-13-2009, 06:14 AM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have all the ads displaying perfectly when using them within the VB templates. My issue is when I try to include them in a post or announcement. Give it a shot...try posting a standard post and you'll see what I'm saying.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07768 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete