View Full Version : Adsense ID Pre-Coded into VB?
I was looking at init.php and noticed towards the top:
// Add AdSense if present
$vbulletin->adsense_pub_id = '';
$vbulletin->adsense_host_id = 'pub-2606800903002383';
What's the adsense host and why is this even in this file?
SEOvB
01-18-2009, 09:22 PM
You integrated your adsense ID with your vBulletin account at vbulletin.com/members
If that isn't your publisher ID then there are some issues obvisously. If it is your ID, its from following their adsense integration tutorial.
Taragon
01-18-2009, 09:36 PM
adsense_host_id is vbulletin.com's host id
if you haven't integrated adsense at vbulletin.com adsense_pub_id should be empty and adsense_host_id is just a placeholder.
feel free to remove both lines though
Edit: personally I would avoid using it (for now), especially at an established board.
Dismounted
01-19-2009, 03:16 AM
That code is used for the vBulletin AdSense Integration now available in v3.8.0. Those lines are there even if you do not have the integration enabled. You will notice the publisher ID variable is empty, which means you have not enabled the integration. The host ID represents Jelsoft/IB and is not used unless the integration is enabled.
SEOvB
01-19-2009, 03:58 AM
That code is used for the vBulletin AdSense Integration now available in v3.8.0. Those lines are there even if you do not have the integration enabled. You will notice the publisher ID variable is empty, which means you have not enabled the integration. The host ID represents Jelsoft/IB and is not used unless the integration is enabled.
Hmm, interesting. Anyone know why Jelsoft's ID would need to be there, or is that a question for vBulletin.com?
Dismounted
01-19-2009, 04:22 AM
Jelsoft's ID needs to be there otherwise Google doesn't know that the specific ad is associated with Jelsoft.
Andreas
01-19-2009, 04:22 AM
It does not need to be there if the integration is not enabled - it's there for simplicity reasons (as stated somewhere on vbulletin.com) because the build system was not designed to conditionally put in code (as it would be necessary in this case).
SEOvB
01-19-2009, 05:55 AM
It does not need to be there if the integration is not enabled - it's there for simplicity reasons (as stated somewhere on vbulletin.com) because the build system was not designed to conditionally put in code (as it would be necessary in this case).
Thanks for the explanation, saved a trip to vB.com :up:
What is the benefit of integration anyway? I mean, I'm not an idiot when it comes to pasting Google Adsense code. I already have it in several places and have had it since the early 2.x days of VB and it's always been fine..
lasto
01-19-2009, 06:20 PM
does jelsoft get some of your advertising revenue ?
As i dont see why they would need to be part of your adsence account
Dismounted
01-20-2009, 03:18 AM
What is the benefit of integration anyway? I mean, I'm not an idiot when it comes to pasting Google Adsense code. I already have it in several places and have had it since the early 2.x days of VB and it's always been fine..
It's for the "idiots". The devs have said this.
does jelsoft get some of your advertising revenue ?
As i dont see why they would need to be part of your adsence account
Jelsoft gets 0% of your revenue. Google requires they do this because Jelsoft will get bonuses for new members to AdSense.
lasto
01-20-2009, 03:50 PM
It's for the "idiots". The devs have said this.
Jelsoft gets 0% of your revenue. Google requires they do this because Jelsoft will get bonuses for new members to AdSense.
gotya so basically they adding the features to make things easier for us.
Thanks for info Dismounted
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.