Forum Moderators: martinibuster

Message Too Old, No Replies

make it harder to remove (hack) adsense advertisement

         

proxy

10:57 am on Feb 21, 2005 (gmt 0)

10+ Year Member



I provide some free web hosting with google Adsense adverts on the pages of the users.

However, some cheating-sob-users are able to enter short javascripts in the their pages, which creates an error and stops Google Adsense from loading.

Is there anything that can be done to prevent this? How to make it harder to "hack" the advertisements?

Or is there a way to write a spider script that can visit each hosted page and verify that the AdSense ad is successfully loaded?

thanks.

lammert

11:17 am on Feb 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If I understand you right you are adding the javascript code for the Google advertisments, after the users have created their own page, interesting.

Run-time check is difficult, but as a webhost you could run a daily cron script to check all pages for this script code and then disable these accounts. It is free hosting, so it won't cost you money to do this, only save some bandwith. It is also a warning to other users on your system.

<to consider>
You are not in total control of the pages of each individual user, which might be a huge problem in the long run. If I were a user on your system it would be far more easy to remove the Adsense ads. I would just add "Please click on the ads to support me!" in bold typeface to my page and then send an anonymous e-mail to Google to look at that page.
</to consider>

SignMeUp

2:26 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



You can restrict the user upload their files from an upload page rather than a ftp client. Then you can check their files from this upload page.

winglian

5:10 pm on Feb 21, 2005 (gmt 0)

10+ Year Member



are you inserting your adsense code at the beginning or end of their pages? If you place it at the beginnning b4 any of their javascripts, then yours should run without any problems.

the only other problem is that you may want to check with google about whether this is against their ToS since you are placing adsense on a page that you don't control the content on.

Wing

SignMeUp

4:44 am on Feb 22, 2005 (gmt 0)

10+ Year Member



I think there is no problem about that. Just like you are putting adsense code in a forum. Also you can't control the content in every page.

proxy

4:49 am on Feb 22, 2005 (gmt 0)

10+ Year Member



no, i post the code closer to the middle of the page.

i was wondering if there was some trick that could be used to prevent javascript from braking. Or to find out find out when an ad didn't load.

for example, if you run a spider, it will just look at the content of the page, and will see the adsense code and will think that the ad got loaded. But it reality, it might have loaded.

i was wondering if there was some way of loading into IFRAMES (maybe that will help stop cheaters).... but then i don't know how will Google findout the referrer and page's content.

HughMungus

5:01 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just like you are putting adsense code in a forum. Also you can't control the content in every page.

Especially the TOS says "websites you contorl" and a host does control them. Didn't the TOS used to say that? I can't find it now.

incrediBILL

6:13 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If it's a FREE host, then you can control the content via the FREE HOST TOS. It's a risk sure, but if your TOS is written tight, the end user has no choice except to comply or move elsewhere.

If they block the ads I would just suspend their site until they fix it, spank them and they'll either get the hint or move on.

proxy

6:17 am on Feb 22, 2005 (gmt 0)

10+ Year Member



ok, but let's say you host 100,000 pages .... how can you monitor them all manually?

is there a technology that can detect if the google ad was loaded, or was it stopped by a javascript error

MarkHutch

6:25 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the kind of thing that makes many advertisers like us think twice about turning on "content" sites via Adwords.

jetteroheller

6:48 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I would feel more save as the captain of a war ship filled with death row prisoners voluntary on an extrem high risk mission, than to let my AdSense code to be put on the web sites of people using a free hosting service.

The first writes "Please visit our sponsors"
The next puts some nice porn photos
The last creates a racist hate page

proxy

6:54 am on Feb 22, 2005 (gmt 0)

10+ Year Member



The reality is that majority of web traffic is in the hands of: free websites, porn websites, warez, mp3 like stuff ... yes the traffic is of low quality.

..... but this stuff has nothing to do with my question....

my question is for AdSense people...not the AdWords...lol

MarkHutch

6:57 am on Feb 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Man, you're missing the point. Without Adwords there would be no Adsense. It doesn't sound like you are playing by the rules, so you're not going to find many honest Adsense folks that want to help you to mess it up for the rest of them.

Remember, everytime you see an ad on one of your pages, someone is paying for it and if they don't get results they are going to go elsewhere.