View Full Version : Google Ad Question.
carterx
04-23-2005, 01:47 AM
Do you guys know the basic google ads?
The code has the part ''google_ad_client = "pub-xxxxxxxxx";' in it, and because of this, It could be possible for clients/hostees to change it(mess it up, or change it to their own account), without the admin noticing.
Is there any way(not using mod_layout), that I could make the code more private, without removing all the customization for the client/hostee(such as colors, borders, etc. in the code).
Thanks!
Only way that I can think of is you would have to check the site and make a rule that they can't change anything except the colors if they do suspend/terminate their account may take affect.
BRMike
04-23-2005, 06:20 PM
Well there is no way to really prevent this because even using some crypto java method they could still change the entire code with their own.
glookifree
04-27-2005, 05:25 PM
i have a small linux server at home, which has access to my webservers in ev1. every night about 3am my page crawler crawls all the free clients web pages checking for the ad code, if it is not found its flagged and they are sent an email when the batch is over. If on the next scan ( Every 12 hrs ) the ad still isnt there their account will be automatically suspended.
i wrote the crawler in C and it does about 400 accounts in a couple of hours, im thinking of releasing it on sourceforge, but it needs some more improvements first i think.
Sounds like a nice script ;)
BRMike
04-28-2005, 06:33 AM
Sounds like a very nice script. Just an idea here off the top of my head would be to use a MySQL database and md5 to speed it up a bit. On the initial crawl all pages are indexed, checked, etc and the md5 hash of their file is added to the database. Afterwards when the next crawl is run, if the md5 hash of the page has not changed, then the page does not need to be crawled. About the only way a person would get around this would be by using PHP and MySQL on their site. Have the php page insert the ad code via MySQL. The md5 of the php file would be the same, however the data in the MySQL DB could be changed to not show the ad. Just a thought though.
cDizzle
04-28-2005, 11:08 AM
i have a small linux server at home, which has access to my webservers in ev1. every night about 3am my page crawler crawls all the free clients web pages checking for the ad code, if it is not found its flagged and they are sent an email when the batch is over. If on the next scan ( Every 12 hrs ) the ad still isnt there their account will be automatically suspended.
i wrote the crawler in C and it does about 400 accounts in a couple of hours, im thinking of releasing it on sourceforge, but it needs some more improvements first i think.
I think you should release it... like right away, or at least give me a copy :)
carterx
04-30-2005, 02:05 PM
Could you send it to me?
carterxin@gmail.com
thx.
madtomic
07-04-2005, 01:32 PM
i have a small linux server at home, which has access to my webservers in ev1. every night about 3am my page crawler crawls all the free clients web pages checking for the ad code, if it is not found its flagged and they are sent an email when the batch is over. If on the next scan ( Every 12 hrs ) the ad still isnt there their account will be automatically suspended.
i wrote the crawler in C and it does about 400 accounts in a couple of hours, im thinking of releasing it on sourceforge, but it needs some more improvements first i think.
Do you think you can send me a copy? =) I'd need something like this to enforce ad rule. Thanks! madtomic [@] myrealbox [dot] com
djbob
07-04-2005, 07:33 PM
There's an easy way! You can create a file then frame it in every page. That way they can't edit anything.
andrew
07-05-2005, 01:35 PM
That would require mod_layout, which he stipulates as undesired.
vBulletin® v3.6.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.