|
||||||||||
|
|||||||
| GoogleCommunity Sponsor |
Use coupon "forum" for 50% Off! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Noogle
![]() Join Date: Aug 2006
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
![]() |
how do I block my ads from being served
on a specific site? Google is serving Adsense ads on a site which locates brothels for people. My site includes childcare services, so this referral isn't exactly sending the right sort of traffic.
|
|
|
|
|
Sponsored Links
|
|
|
|
#2 (permalink) |
|
Senior Googler
![]() Join Date: Jun 2005
Location: Bulgaria
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
As far as I understand you want to stop showing adsense ads on your site when the referrer is a particular site, am I right? If so, just include this code in your pages:
Code:
if ($_SERVER['HTTP_REFERER']=='Unwanted referrer')
{echo 'The ad code suitable for the traffic';}
else {echo 'adsense code';}
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google's phenomenal success served as a wake-up call at Redmond - Earthtimes.org | News Alerts | Google in the News | 0 | 03-01-2007 09:19 AM |
| Best way to block IP for prevent clicking Ads? | espider | Google AdWords & AdSense Forum | 7 | 03-14-2006 12:10 AM |
| New Kid on da Block | darrelld | Introduce Yourself | 10 | 10-21-2005 12:56 AM |
| new kid on da block | playvibes | Introduce Yourself | 3 | 09-11-2005 09:25 AM |