homepage Welcome to WebmasterWorld Guest from 54.81.170.186
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
AdSense Ad in a hovering and closeable div
Probably against the ToS?
Stevo_UK




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

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

 

Stevo_UK




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

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>

jomaxx




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

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.

Stevo_UK




msg:1436641
 7:36 pm on Nov 19, 2005 (gmt 0)

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.

netscan




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

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

kokaroach




msg:1436643
 7:58 pm on Nov 19, 2005 (gmt 0)

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

Knappster




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved