Forum Moderators: martinibuster

Message Too Old, No Replies

How to hide some text for Google Adsense

A casino advertisement totally unrelated with my site.

         

jouwpagina

5:46 pm on Jul 10, 2004 (gmt 0)

10+ Year Member



I've put a casino advertisement on my site. But, I want to hide it for Google Adsense, because it's not related with my site. I saw the ads became more general and less targeted. So, what to do?

It's a text-advertisement and an image is not possible. Possible solutions:
- using javascript [how?] Google can't read javascript?
- using iframes or something...?
- something else

Please help me.

richmondsteve

6:04 pm on Jul 10, 2004 (gmt 0)

10+ Year Member



That might work. You could also try cloaking based on the Mediapartners user-agent string or IP address range. See forum24 [webmasterworld.com] for details.

jouwpagina

8:09 pm on Jul 10, 2004 (gmt 0)

10+ Year Member



I don't prefer to use cloacking. How may I hide it with javascript? I've got no knowlegde about javascript....

Powdork

9:08 pm on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you could serve the ad as an include that is in a folder protected by robots.txt (I think). Google reads js now it seems so you would want to do whatever you do that way externally from a robots.txt protected file anyway.

HughMungus

9:29 pm on Jul 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could you convert the text to an image?

You could even make it look like text. Just do a print screen while looking at your site/the ad in question, paste that from the clipboard into your favorite photo editing program, crop out everything but the ad, then save it as a .gif or .jpg and include it in your site as an image.

Another thing you *might* have to worry about is the ad's link. Google might not like that you're linking to a casino site (or, might not like it in the future).

rogerd

9:38 pm on Jul 10, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



jouwpagina, if it has to be a text ad because the advertiser is paying for text expecting a PR or anchor text benefit, then using JS or cloaking to hide the ad from Google will net you an angry advertiser. OTOH, if the advertiser just expects clicks, then an image would be best. Some users may not have JS enabled and hence not see the ad, and using <NOSCRIPT> tags to show them the ad would expose it to Google, too.

jomaxx

5:53 am on Jul 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From the program policies:
Site may not include: Gambling or casino-related content

You could argue that an ad promoting a casino is not content per se, but you might want to check that interpretation with Google. A while back I got into trouble with my merchant account provider over a link to a casino website and had to scramble to remove it.

jouwpagina

9:30 am on Jul 11, 2004 (gmt 0)

10+ Year Member



Ok, I will try something with Javascript. An Image is impossbile, because all my subpages got other colors/templates.

Powdork

5:26 pm on Jul 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



why not a gif or png with a transparent background?

jouwpagina

7:11 pm on Jul 11, 2004 (gmt 0)

10+ Year Member



The font colors differ.

Iinkpopularitypro

7:49 pm on Jul 11, 2004 (gmt 0)



Is this ethical in terms of Google TOS to use these kinds of techniques?

HughMungus

7:52 pm on Jul 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is this ethical in terms of Google TOS to use these kinds of techniques?

Where does it say that an ad must be textual?