AdSense Integration as second post

This mod adds a Google Adsense large rectangle after the first post of each thread.
It is blended to look like a regular post in your thread without violating Google adsense TOS. Make sure you use the same colors you use on your forum to optimize blending!

This mod shows the AD only to GUESTS!

If you want to show it to your members as well remove the ” AND $show[‘guest’]” condition!

Installation instructions

In the template postbit_legacy find:

{vb:raw template_hook.postbit_end}

and add below:

<vb:if condition="$post['isfirstshown'] AND $show['guest']">
  <ul>
    <li class="postbitlegacy postbitim postcontainer" id="post_{vb:raw post.postid}">
      <!-- see bottom of postbit.css for .userinfo .popupmenu styles -->
      <div class="posthead">&nbsp;&nbsp;<img title="Alt" src="./images/statusicon/post_old.png" alt="Alt" border="0" /><span class="date">&nbsp;<a href="https://www.DOMAIN.COM/register.php" style="color:#FFFFFF; text-decoration:underline;">(No Advertising after the first post? Register now for free!)</a></span></div>
      <div class="postdetails">
        <div class="userinfo">
          <div class="username_container">
            <br />
            <span style="font-weight:bold;font-size:14px;margin-left:0px;color:#000000;">Advertising</span><br /><br />
            <img src="https://www.DOMAIN.COM/images/logo_ads.png" width="90px" height="90px" alt="advertising" title="advertising" />
            <dl class="userinfo_extra">
              <dd>Forumname.com</dd>
              <dd>has no influence</dd>
              <dd>on advertisings</dd>
              <dd>that are displayed by</dd>
              <dd>Google Adsense</dd>
            </dl>
          </div>
        </div>
        <div class="postbody">
          <br />
          &nbsp;&nbsp;<!- Your Google Adsense Code for a 336x280px large rectangle -->
          <div class="cleardiv"></div>
        </div>
      </div>
      <div class="postfoot">
        <div class="textcontrols floatcontainer">
          <span class="postcontrols">&nbsp;</span>
        </div>
      </div>
      <hr />
    </li>
  </ul>
</vb:if>

Notes

Make sure to check and adapt especially domain to fit your forum.

For better blending I use my Websites Logo as “Avatar” to make it look more like a post.

For the same reason I added the “we have no influence…” part below the “Avatar”.

You can remove the whole “userinfo_extra” part if you don’t like the text.

Of course feedback is welcome and if you have suggestions to further improve CTR please let me know!

Kind regards

admin

This entry was posted in AdSense Placements and tagged , , , , . Bookmark the permalink.

13 Responses to AdSense Integration as second post

  1. CThiessen says:
    Hi,
    some suggestions what I do different.

    I use only a 728x90 Ad, to not use too much space for Ads.

    But I use a AdSens link Block instead of the message under the Avatar.

    And I repeat the Icon and Thread Title.



    Greetings Christian
  2. admin says:
    The Linkblock position is a neat idea.

    How does it perform?

    I use a large rectangle because it performs so much better than the Leaderboard when it comes to CTR. However I never tried it with the new Adsense layout like on your screenshot.

    I show Ads only to guests which make up 93% of my visitors on my forum anyways so I don't care if it takes up a little bit more space.

    admin
    • CThiessen says:
      The Linkblock position is a neat idea.

      How does it perform?
      I don´t know.

      I had that on my vB3 Version.

      It is some extra. The main reason was to keep the design, like a normal Post.

      In vB4 i change it today. My main intention is to refinance the server and not make as much money as possible.

      but if an small change make big differences I am going to change it anyway. And if one Ad perform better one other my go down, as long as Goggle do not permit to open Ads in a new window (They do it only for very big publishers).

      Today I also change the Ad on Top with the Welcome Message.

      I am going to leave it running for 1 Week an than try to change the format of the one as second post. Than i have enough data to see whats happen with the first Ad. If there is a real plus i will change it, if is only a move form the first Ad to the second i leave it like it is.

      Greetings Christian
    • unicorn says:
      I use a large rectangle because it performs so much better than the Leaderboard when it comes to CTR. However I never tried it with the new Adsense layout like on your screenshot.
      I have very nice results with the new leaderboard. You should definitely test this and report it here.
  3. admin says:
    I don't use this placement anymore.

    But even with the new leaderboard layout I doubt it can compete with the large rectangle when it comes to CTR. However this always depends on your site and blending of course ;)
    • unicorn says:
      But even with the new leaderboard layout I doubt it can compete with the large rectangle when it comes to CTR. However this always depends on your site and blending of course ;)
      The nice thing of the leaderboard is the few space it takes. It is more user friendly and the reader can see through the content easier.
  4. admin says:
    Yes, that is a decision every webmaster has to make for his own.

    I for myself only monetize guests with ADs, registered users can use my websites without ADs because I want them to produce content to bring in new visitors that I can monetize. ;)
  5. xabo says:
    Hi

    Ive added this code on my site, but for some reason the add wont show up, even tho i followed your steps.

    Any suggestions?

    Edit; found the problem, i already have 3 displayed ads.
  6. d2dyno says:
    Is there a way to disable this for certain usergroups? Such as Admins, Moderators, and VIPs?
  7. admin says:
    add the condition: AND !is_member_of($bbuserinfo, X,Y,Z)

    where X,Y,Z are the usergroup IDs
    • d2dyno says:
      add the condition: AND !is_member_of($bbuserinfo, X,Y,Z)

      where X,Y,Z are the usergroup IDs
      Thank you!
  8. thinkagain99 says:
    Thanks a lot.. i was looking for this since ages
  9. Jamison200 says:
    thanks admin.

    was looking very. :o

Leave a Reply

Your email address will not be published. Required fields are marked *

*