Welcome to WebmasterWorld Guest from 54.167.153.63

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

AdSense Ad in a hovering and closeable div

Probably against the ToS?

   
5:08 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



I had an AdSense idea earlier, inspired by advertising I noticed on a website I happened to visit. The idea is to place a AdSense ad in a hovering and closeable div.

I've been a lurker/occasional poster here for well over a year now and I can't remember seeing this discussed before or seen it being used on any AdSense site, so I thought I'd bring it up to see what people thought.

The concept is to place the AdSense code in an absolutely positioned div tag that hovers over the main content of the page. It also has a javascript powered close button/link on it to allow the visitor to get rid of it. I'm sure you've come across similar non-AdSense implementations of this technique.

I will reply to this post after with some html code so that you can see a very basic example of what I mean. A proper implementation would include cookies to track if the ad had been shown this session etc.

I've spent the afternoon going through the AdSense T&C and Program Policies trying to find something that might stop us using this technique. So far I haven't come up with anything concrete. I've listed the bits that would obviously relate to this technique below:

  • No Google ad or Google search box may be displayed on any domain parking websites, pop-ups, pop-unders, or in any email.
    This could loosely be referred to as a pop-up I guess, though the term pop-up usually refers to a window

  • Any AdSense ad code, search box code, or referral code must be pasted directly into Web pages without modification. AdSense participants are not allowed to alter any portion of the ad code or change the layout, behaviour, targeting, or delivery of ads for any reason.
    We're not altering any of the AdSense code but we may be altering their layout, behaviour and/or delivery.

  • The whole of the Incentives section
    We could be "drawing undue attention to the ad" etc.

I'm sure there are other sections that might stop us using this technique. These are just the main points I came up with. Also, I haven't emailed AdSense support about this and I'm pretty sure they would be against it but you never know. It's worth discussing at least.

Let me know what you think.

Stevo

5:09 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



Here is the HTML code I referred to in the post above. You should also grab the large rectangle gif 336x280.gif from the AdSense ad formats page.

========================
<html>
<head>
<title>AdSense In A Floating And Closeable Div Tag</title>
<style>
body {
text-align : center;
font : 0.8em "Trebuchet MS",Verdana,Arial,Sans-serif;
}
#adsense_ad {
position : absolute;
left : 30%;
top : 15%;
width : 350px;
height : 325px;
background : #ffffff;
border : 1px solid #000000;
text-align : center;
}
#adsense_ad_close {
}
#adsense_ad_img {
width : 336px;
height : 280px;
border : 0px;
background : #dddddd;
}
#content {
margin : 0 auto;
width : 760px;
text-align : left;
}
</style>
<script type="text/javascript">
function closeAdsenseAd() {
if(document.layers) {
document.layers['adsense_ad'].visibility = "hide";
} else if(document.getElementById) {
var obj = document.getElementById('adsense_ad');
obj.style.visibility = "hidden";
} else if(document.all) {
document.all['adsense_ad'].style.visibility = "hidden";
}

}
</script>
</head>
<html>
<div id="adsense_ad">
<a id="adsense_ad_close" href="javascript:closeAdsenseAd();">Close Ad</a><br /><br />
<a href="javascript:alert('This is a dummy ad');"><img src="336x280.gif" id="adsense_ad_img"></a>
</div>
<div id="content">

<h1>Main Header</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>

<h2>Sub Header 1</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>

<h2>Sub Header 2</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>

<h2>Sub Header 3</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque a enim vel ipsum blandit vestibulum. Cras elementum, sapien vel viverra lacinia, urna neque commodo arcu, a vestibulum magna nisl ac nisl.</p>

</div>
</html>
</head>

5:25 pm on Nov 19, 2005 (gmt 0)

WebmasterWorld Senior Member jomaxx is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I don't specifically see it in the Program Policies, but I recall that having AdSense ads obscure any portion of the content on the page is a no-no.
7:36 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



There is a section that says:

  • Elements on a page must not obscure any portion of the ads, and the ad colours must be such that any ad elements, including text and URL, are visible.

Is that the bit you are referring to? It stops you obscuring the ads but I can't find anything that says your ads aren't allowed to obscure your content.

7:48 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



Might fall under drawing undue attention to the ads, asking here won't get you an iron clad answer, go to Google directly when in doubt
7:58 pm on Nov 19, 2005 (gmt 0)

10+ Year Member



How about having the ad fly around the page, or slide back and forth like those old fashioned "Punch the Monkey" banners ;-)

Anyway, set it up on a test page, email google with the url and ask them if your technique is acceptable or not.

K

11:26 pm on Nov 19, 2005 (gmt 0)

5+ Year Member



Something like this was suggested before [webmasterworld.com], and ASA said it was not allowed.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month