Forum Moderators: rogerd

Message Too Old, No Replies

I dont want to see ads

Adsense ads not to be seen for admin

         

anand84

8:41 am on Dec 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi

I have adsense runnning for my forums site. However, I do not want to waste my CTR due my viewing of the pages. Can somebody help with HTMLcode that i can add before the Adsense script so that they are not visible to me.

Oldiesmann

2:02 pm on Dec 15, 2005 (gmt 0)

10+ Year Member



That will have to be done using PHP or the internal template functionality of the forum system you're using. There is no HTML code that will accomplish this.

linear

4:22 pm on Dec 15, 2005 (gmt 0)

10+ Year Member



If you modify your local PC's HOSTS file, you can do this, and it's also easy to reactivate the ads when you want to see them.

msg 7 and beyond in this thread explain how in detail:
[webmasterworld.com...]

rogerd

7:58 pm on Dec 19, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



This isn't a bad idea, at least partly to avoid accidental and dangerous self-clicks. One way to do it in the forum code is to see how admin only items are displayed. For example, if you see an "admin" link that takes you to the admin controls, it's display is probably conditional on the user being logged in as an administrator. Just copy this same code (actually, the negative of it) to your Adsense code so that it only displays if the viewer is NOT logged in as an admin.

skyhawk133

4:18 am on Dec 20, 2005 (gmt 0)

10+ Year Member



I would be remiss not to point out disabling ads makes it difficult to monitor the quality of ads being shown on your site. Knowing which ads are displaying and adjusting your adsense targetting will help you improve your earnings far more than simply turning them off to preserve your CTR.

rogerd

1:42 pm on Dec 20, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I should have made that point too. Although there has been a lot of discussion about disabling Adsense, particularly where other users may access the computer (family members, co-workers, etc.), the downside is that you don't see what's running.

I never disable Adsense, as the odds of someone else clicking an ad from one of my computers are very small. I do like to see what's running, and add site to my exclusion list fairly often.

If you do want to cut down on your personal views (probably not important unless you have a very low volume site), the "admin" approach may be best. That way, you can easily check what's running by logging out and viewing the site.