PDA

View Full Version : Placing Google Adsense code in vBulletin 4.2.5


pratul11
05-05-2021, 01:38 PM
Hi
I am a new user of vBulletin 4.2.5 and I need your help. I am trying to get my site approved by Google AdSense.
I have two queries:
1. Could you please guide me on where do I put the AdSense code? I don't know how to access the header part and how to go there after logging into AdminCP. I am no coder guy. Any help with the steps is really appreciable.

2. I have associated with my Google Adsense account by going to the Members' Area of vBulletin. Then do I need to update the vBulletin again as I have vBulletin software already installed? I just uploaded these files from the new vBulletin ZIP file they gave:

/admincp/deployads.php
/includes/adsense_templates.php
/includes/init.php
/includes/xml/cpnav_ads.xml

Is it sufficient? Please guide me.
Thanks

Hostboard
05-07-2021, 02:03 PM
There are numerous ways to do this. The least of which I would recommend in linking to Vbulletin's backend.

The most simplistic way might just be to install an addon like:
https://vbulletin.org/forum/showthread.php?t=326907

webmastersun
06-11-2021, 12:42 AM
You can add Google adsense directly to header template, find these templates in template section and don't forget to make a bit style for it to make google adsense look better.