Print Page | Close Window

Google Ads - Section Targeting

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23841
Printed Date: 30 March 2026 at 4:18am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Google Ads - Section Targeting
Posted By: MortiOli
Subject: Google Ads - Section Targeting
Date Posted: 19 July 2007 at 2:01pm
Just thought I'd share a couple of things I've found, regarding Google Ads and Forums.
 
These are somethings I'm going to implement on my forums to see if it effects Ads in a positive way.
 
http://www.zigire.net/2007/01/07/8-tips-increasing-adsense-revenue-on-forums/ - http://www.zigire.net/2007/01/07/8-tips-increasing-adsense-revenue-on-forums/
 
https://www.google.com/adsense/support/bin/answer.py?answer=23168&ctx=en-uk:search&query=section+targeting - https://www.google.com/adsense/support/bin/answer.py?answer=23168&ctx=en-uk:search&query=section+targeting
 
 
A well known link;
 
http://adsense.blogspot.com/2005/10/six-adsense-optimization-tips-for.html - http://adsense.blogspot.com/2005/10/six-adsense-optimization-tips-for.html
 
 
Block MFA and LCPC Ads;
 
http://www.adsblacklist.com/ - http://www.adsblacklist.com/
 
 
EDIT - Sorry, might be best to move this into the v8.x modifications, due to the v8 code below.  Thanks.



Replies:
Posted By: MortiOli
Date Posted: 19 July 2007 at 2:02pm
I've just added the section targeting, so I'll let you all know how it goes.
 
   <!-- Start Member Post -->
   <!-- google_ad_section_start -->
   <div class="msgBody" style="float:left; overflow:auto;">
   <% = strMessage %>
   </div>
   <!-- google_ad_section_end -->
   <!-- End Member Post -->
 
  <!-- google_ad_section_start(weight=ignore) -->
 
   <a name="<% = lngMessageID %>"></a>
   <a href="member_profile.asp?PF=<% =lngUserID %>&FID=<% = intForumID & strQsSID2 %>"><% = strUsername %></a>
   <br /><% = strGroupName %>
   <br /><img src="<% If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") %>" alt="<% = strGroupName %>"/>
   <br /><%

         'If the user has an avatar then display it
         If blnAvatar = True AND strAuthorAvatar <> "" Then Response.Write("<img src=""" & strAuthorAvatar & """ alt=""" & strTxtAvatar & """ class=""avatar"" onError=""this.src='avatars/blank_avatar.jpg';""/>")
         'If there is a title for this member then display it
         If strMemberTitle <> "" Then Response.Write(vbCrLf & "   <br />" & strMemberTitle)
         'If not a guest post then display some details
         If lngUserID <> 2 Then
           'Show the joined date
           Response.Write(vbCrLf & "   <br /><br />" & strTxtJoined & ": " & DateFormat(dtmAuthorRegistration))
           'If the is a location display it
           If strAuthorLocation <> "" Then Response.Write(vbCrLf & "   <br />" & strTxtLocation & ": " & strAuthorLocation)

   'If active users is enabled see if the user is online
   If blnActiveUsers Then
    'Display if the user is online
    blnIsUserOnline = False
    'Loop through the active users array
    For intLoop = 1 To UBound(saryActiveUsers, 2)
     If saryActiveUsers(1, intLoop) = lngUserID Then blnIsUserOnline = True
    Next
    'Display if the user is online
    If blnIsUserOnline Then Response.Write(vbCrLf & "   <br />" & strTxtOnlineStatus & ": " & strTxtOnLine2) Else Response.Write(vbCrLf & "      <br />" & strTxtOnlineStatus & ": " & strTxtOffLine)
   End If

           'Display the num of posts
           Response.Write(vbCrLf & "   <br />" & strTxtPosts & ": " & lngAuthorNumOfPosts)
  End If
%>
<!-- google_ad_section_end -->


Posted By: MortiOli
Date Posted: 25 July 2007 at 1:12pm
After applying the above, adverts are definitely more focused on the topics in question.  If people run Google Adsense on their forum, I highly recommend the above if the topic focus of your ads seem a little strange at times.


Posted By: MortiOli
Date Posted: 01 November 2007 at 10:24pm
Noticed this has been implemented into the latest WWF release...Borg, did you find it made a difference to ads served / revenue generated?


Posted By: WebWiz-Bruce
Date Posted: 02 November 2007 at 8:06am
I've not noticed any difference.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net