The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with AdSense Advertising Code
Hello folks. My website is currently using AdSense Ad Units. Previously I was using AdSense Auto Ads...and thought I would give Ad Units a try. I'm finding that fill rate & revenue are not as good with Ad Units as with Auto Ads...so I'd like to return to using Auto-Ads.
Currently I have banner ads & sidebar ads. What I could use some help with is...could some kind person or persons help me with modifying the AdSense code so I can copy and paste it into each of the banner ad & sidebar ad slots? I should also mention that I'm entering the code directly into the vBulletin ad templates...and not using the vBulletin Ad Manager. I've found the vBulletin Ad Manager (vBulletin 4.2.5) to be a bit flaky & inconsistent...and find entering the ad code directly the the ad templates more reliable. Here's an example of my AdSense auto ad code for banner ads: <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-xxxxxxxxxxxxxxxx", enable_page_level_ads: true }); </script> What code needs to be added to this so that I can copy & paste it directly into the vBulletin ad templates? Here's an example of my sidebar ad code: <div class="sponsor"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Sidebar 1 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-xxxxxxxxxxxxxxxx" data-ad-slot="xxxxxxxxxx" data-ad-format="rectangle" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> How does this sidebar ad code need to be modified so that AdSense Auto Ads will run instead of Ad Units? Thanks very much. p.s. FYI. Website running vBulletin 4.2.5. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|