vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Google Admanager Integration (https://vborg.vbsupport.ru/showthread.php?t=195234)

ThorstenA 11-09-2008 07:00 PM

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.

rob30UK 11-10-2008 08:21 AM

How exactly is the adcode injected? I have a heavily modified forum - how does your script know where to place ads?

ThorstenA 11-10-2008 08:38 AM

Quote:

Originally Posted by rob30UK (Post 1662815)
How exactly is the adcode injected? I have a heavily modified forum - how does your script know where to place ads?

Google Admanager knows about targeting criterias from your modified headinclude template (step 2 of product installation).
  • Usergroups are fetched by $bbuserinfo[usergroup]
  • Script name is fetched by THIS_SCRIPT
  • forum names are fetched by product which fetches actual forum title and all parentforum titles via $foruminfo[parentlist]. It also normalizes all titles to match google target value criterias.

rob30UK 11-10-2008 10:20 AM

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.

ThorstenA 11-10-2008 10:41 AM

Quote:

Originally Posted by rob30UK (Post 1662850)
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.

#1 You must put your adslots in template headinclude.
#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!

ThorstenA 11-13-2008 01:53 PM

Quote:

Originally Posted by diretur (Post 1662326)
I targeted banner 2, 3 and 4 putting "forums not equal to B". Still they do appear in forum B and banner 1 doesn't. What am I doing wrong?

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.

Rik Brown 11-14-2008 09:41 PM

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/
... where words are separated by a dash rather than an underscore.

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

ThorstenA 11-15-2008 06:57 AM

Quote:

Originally Posted by Rik Brown (Post 1665793)
Thank you for this mod. I've just installed it and am wondering if anything needs adjusting for those of us running vbSEO?

This mod works perfectly with vbSEO on my own forums. This mod takes original forum names for its own from vbulletin and changes its names to apply with google name rules. (Google only allowes for example a maximum of 40 characters which are only allowed to be alphanumerical).

Quote:

Originally Posted by Rik Brown (Post 1665793)
Or, should I rewrite the forum names using dashes before entering them into Google Admanager?

As these normalized google admanager targeting forum names are of course different from original forum names I have programmed a small script (see post #2) that gives you this normalized list which you just have to copy&paste to admanager.

It is very important to only import this normalized list of forum names!

Rik Brown 11-15-2008 04:18 PM

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

djwins 11-19-2008 01:04 AM

Has anyone tried this on 3.7?


All times are GMT. The time now is 03:23 PM.

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.01414 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete