1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense & CSS

Discussion in 'Guidelines / Compliance' started by siraxi, Dec 13, 2005.

  1. #1
    Hi

    I read a CSS tutorial today and I learnt how to display a text or anything else at a determined absolute position on a page.
    I also figured out how to add a php random function and the result was the displaying of Adsense at a random location in the page.

    Question is: is this allowed?!? This is not a pop-up window. It's just CSS.
    My first guess is NO. But, what if...? Anyway I wouldn't use it, unless Google specifically allows it.

    Here's the source code if you want to play around with it:

    <?php
    $top=rand(0,600); $left=rand(0,600);
    ?>
    <div align="center" style="position:absolute; top:<?php print $top;?>px; left:<?php print $left;?>px;>
    ***Adsense script***
    </div>

    Comments?
     
    siraxi, Dec 13, 2005 IP
  2. ravianz

    ravianz Notable Member

    Messages:
    1,536
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    250
    #2
    I think its not restricted coz you are not tempering with adsense code; just setteling location with PHP
     
    ravianz, Dec 14, 2005 IP
  3. siraxi

    siraxi Peon

    Messages:
    333
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Google replied:
    "Thanks for checking with us first. This technique actually does violate
    our policy to not obscure any text on the site. If your ad is randomly
    placed on your site, then there is nothing preventing it from concealing
    your site's content."
    So, this technique is not allowed!
     
    siraxi, Dec 15, 2005 IP
    EWpro likes this.
  4. Evoleto

    Evoleto Well-Known Member

    Messages:
    253
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks for getting back to us with the reply. Good to know.
     
    Evoleto, Dec 15, 2005 IP
  5. Cipixxx

    Cipixxx Well-Known Member

    Messages:
    754
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    128
    #5
    hmm .. still can't see why is against their policy. it's just position mix. it's like in this moment I'm placing the ad in the top left an tomorrow I'm placing the same ad in the bottom of the page.

    Edit: and now I see the last post was published in 2005 :) Maybe things have changed in the meantime ?
     
    Cipixxx, Dec 3, 2008 IP