MyBB Community Forums

Full Version: Proper Adsense location
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
According to Google's own Adsense Help Center the two locations with the best performance are to the left of the thread and above it. How would I implement this? Also, how would I add a letter board ad unit directly after my logo, like in the picture?

Thank you,

Jeremy

[Image: forum_sm_en.jpg]
gimmezell Wrote:According to Google's own Adsense Help Center the two locations with the best performance are to the left of the thread and above it. How would I implement this? Also, how would I add a letter board ad unit directly after my logo, like in the picture?

Thank you,

Jeremy

[Image: forum_sm_en.jpg]

For the left/above/below thread position, you can edit the showthread template.

For the position beside the logo you can edit the header template (this will make the ad visible on all forum pages).

If you want ads after first post, there's a plugin that you can use:
http://mods.mybboard.com/view.php?did=197
Thank for the reply. I have tried to edit the header template before I started this thread. I pasted my Adsense code after the below code.

href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}"
alt="{$mybb->settings['bbname']}" /></a></div></left>

When I do this the ads are not on the same level as my logo, but are below the logo.
Are you after how I have mine on ConvoWorld?

If so in the header template, I added the AdSense code within the logo DIV tag, in its own (advert) [ like below ]
<div class="logo"><a href="{$mybb->settings['bburl']}"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a><div class="advert"><script type="text/javascript"><!--
google_ad_client = "*PUB NUMBER*";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-01-31: ConvoWorld
google_ad_channel = "*CHANNEL NUMBER*";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><br class="clear" /></div>
Then in the themes (at the bottom for Additional CSS) I added this:
.advert {
	display: inline;
	margin-left: 50px;
}

There probably IS an easier way, but that's all i've come up with so far and it works in FF and IE - so i'm happy. Smile
I don't see any ads on your site Dale Hay. Do you have to register on your site to see them?
gimmezell Wrote:Thank for the reply. I have tried to edit the header template before I started this thread. I pasted my Adsense code after the below code.

href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}"
alt="{$mybb->settings['bbname']}" /></a></div></left>

When I do this the ads are not on the same level as my logo, but are below the logo.

I usually prefer tables but let's work it out with divs here.

in the header template find

			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>

replace it with
<div class="logo" style="width:50%; float:left" align="left"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
			<div style="width:50%; float:right" align="right">ADSENSE CODES HERE</div>
			

gimmezell Wrote:I don't see any ads. Do you have to register first?

You don't have an Adsense account yet? what are you wating for? create one and create new ads for you and put their codes into your site.

The code Dale Hay has provided is just a sample that doesnt the pub number which is the your google adsense unique id.

regards
AdSense CTR in forums varies wildly from one to another, and it's even possible that your overall CTR may go *down* a bit as you get more and more users. Keep in mind that forum junkies tend to easily block out ads and focus on the content of their favorite forum(s).

As for the forum heatmap, we've experimented extensively on a wide variety of forums and the simple answer (chuckle) is.. it depends.

Experiment with colours, don't forget to *always* use AdSense Channels to be sure that you can track performance.

Don't make changes every week. I tend to test ad unit positions for a period of about 4 weeks.

Before initially applying for AdSense, do make sure your site is running well, (i.e. not laden with 404s or worse, 500 errors) and that there is a minimum of quality content.

Enjoy it!

Rob
From my previous experience a box on the left hand side and that has text links inside of it, and then a banner space as shown here: http://www.xi0s.net/myBB/
Alex.
Thank you for all your replies. I've had AdSense since Nov '06 and use Channels, but still waiting for the first check to come. It's fun checking every day to see if I made a few dollars. I currently have Google Search, a letter box format in the header and ads after first post. If you want you can give me your opinions on my forum. It's an 96-00 Honda Civic site.

http://www.ej8squad.com