homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

is dynamic placement or scrolling the ads acceptable?

 5:19 pm on Jul 28, 2003 (gmt 0)

I use AdSense in the forums on my website. Yes, I know, that's relatively dynamic content, but the URLs always have the "root" message, so google crawls it relatively frequently and posts wonderfully relevant ads....

The problem is, in the threaded view of my forums, there's only one page, and if you click a message that's halfway down the thread, you're automatically scrolled way past the ads and never see them...

Is it kosher to use javascript/dhtml to automatically scroll the ads down to where the user is sent? I know this is complicated to do, especially sinec the DOM for anchors is rather shady at best... it'll probably require some sort of setTimeout hack... but i don't want to spend the time doing it if google would have a problem with it.

Also, just to be clear: I would NOT wrap the ads in code that keeps them viewable no matter how much the browser scrolls - I only want to place the ads at the location the user is FIRST viewing, so that they're visible, but not annoying.



 5:28 pm on Jul 28, 2003 (gmt 0)

Twiggy, Welcome to WW.

I belive it is alright to use the ads on forums.

Is it kosher to use javascript/dhtml to automatically scroll the ads down to where the user is sent?

I am not sure about this one, but my instinct say that it could be against the google policies, though not exactly defined.

However, perhaps it may be alright to do so. So the best way would be to contact Google to get an official answer.

Risk Nothing!


 7:36 pm on Jul 28, 2003 (gmt 0)

From what I understand, Google doesn't want you messing with their Javascript code. Because of that, I'd be wary of using JavaScript to manipulate the ads. But you can easily use CSS to stick the ad in its proper place and force it to stay there when the page scrolls. Take a look at this page [w3.org] to see this type of CSS in action.

Basically, you'd just put the AdSense code in a <div> and use CSS to modify where that <div> is allowed to go. I don't think they have any control over that happening.

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved