Forum Moderators: martinibuster

Message Too Old, No Replies

Search box and Adsense slot

         

Peter_S

11:52 pm on May 6, 2017 (gmt 0)

5+ Year Member Top Contributors Of The Month



Hi,

I have a hard time finding where to place my search field in my page layout (desktop).

Ideally it should go on top of the right side bar, above a 300 x 600 adsense slot. Both are separated by 22 pixels ( 9 pixels space, 4 pixels line, 9 pixels space ) . My search field has NO suggestions drop down list attached, but web browsers are showing a drop down list of previous searches. The problem is this drop down list is hovering the adsense slot, and might result in accidental click I guess.

Same, when I place the search box on top of the page, this drop down list shows over part of the 728 x 90 top ad.

My worry is that it can be objectionable by Adsense, isn't it ?

So I am wondering if there is an attribute which can be set to tell web browser to never display suggestions list ?

I don't know if my message makes sense, it's late here :)

Thanks,

NickMNS

12:07 am on May 7, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I use Bootstrap for my layout. When the user clicks the search item on the navbar it opens a modal overlay, this greys out the background and if the users accidentally clicks off the modal, over the ad, all it does is close the modal. I assume that this will avoid any accidental clicks.

Also, I use an autocomplete to restrict the input into the search field. Depending on what is typed the list can be long and normally would expand past the modal. So, I modified the css so that the modal grows with the list to avoid any accidental clicks, or more specifically in this case closing the search box before completing the search.

I don't know if this helps you.

keyplyr

1:56 am on May 7, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



web browsers are showing a drop down list of previous searches... hovering the adsense slot, and might result in accidental click... My worry is that it can be objectionable by Adsense, isn't it ?
No, nothing to do with Adsense. The browser's history is not part of your page layout and is different for every user; some of which have that history turned off and autocomplete has nothing to do with the browser history displaying.

The larger issue is having the ad that close to other parts of the layout where issues like this could contribute to false clicks. That's why Google's guidelines say to put a sufficient margin around the ads. So if you think an ad is too close to something else, it probably is. Don't let greed make your decisions :)

Peter_S

10:11 am on May 7, 2017 (gmt 0)

5+ Year Member Top Contributors Of The Month



Thank you for your replies.