Heya folks! I have adsense on parked pages, I want to make a script that will check if the site is banned by adsense and if it is not, it will display adsense. Do you know how can I do that? or where to start?
Use curl to grab the javascript file for adsense, with your parked domain as the referrer. If it returns the javascript, you can assume it is not banned.
If what matthewrobertbell said is correct, you can use curl or a direct socket. However, I also have a hunch Google run more client-side checks using things like document.location, as not all browsers will send a Referer. Jay
Ideally, you'd sniff all traffic between a browser (that has just had all of its caches cleared) and adsense, when you load an adsense site. livehttpheaders for firefox will be useful
Just find a curl tutorial, then make sure you are setting the referrer (and probably user agent) right for connecting to adsense.