Friend got banned for width modifying

Discussion in 'Guidelines / Compliance' started by Tom_e_rock, Dec 30, 2005.

  1. #1
    A fellow adsense user, who was under my refferel, got banned after he hit a $100 and they checked.

    They noticed his layout width was changed within the <script>.. I never heard of this happening before, whats your guys opinion?

    And frankly i want my $100 referel bonus!
     
    Tom_e_rock, Dec 30, 2005 IP
  2. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #2
    the TOS clearly states that you can't modify the adsense code.
     
    Dekker, Dec 30, 2005 IP
  3. Crusader

    Crusader Peon

    Messages:
    1,735
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That just goes to show that it is extremely important to read, understand and follow the ToS to the letter. They clearly state that you aren't allowed to modify the AdSense code, so it comes as no surprise that your friend got banned.
     
    Crusader, Dec 30, 2005 IP
  4. Tom_e_rock

    Tom_e_rock Peon

    Messages:
    428
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    But you can't even modify the colours within??
     
    Tom_e_rock, Dec 30, 2005 IP
  5. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #5
    What do colors have to do with the layout width?
     
    fryman, Dec 30, 2005 IP
  6. Crusader

    Crusader Peon

    Messages:
    1,735
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, you can. Provided that you do it from within your AdSense account. I know most people take shortcuts and modify it in the code itself. I doubt that Google will really nail you for doing that (it's just easier to do directly), but for any other part of the code, it's definitely not a good idea to try to modify it!
     
    Crusader, Dec 30, 2005 IP
  7. devin

    devin Guest

    Messages:
    4,461
    Likes Received:
    449
    Best Answers:
    0
    Trophy Points:
    0
    #7
    you're only allowed to change the color, which is accessible from the adsense accoutn. you can't change anything inside the generated code adfterthat, as it would be a violation.
     
    devin, Dec 31, 2005 IP
  8. MattBeard

    MattBeard Peon

    Messages:
    259
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    OK, this has me worried.

    In order to get adsense ads onto my php based web site I had to copy the code into php with "echo("...\n");" around each line (and escaping the quotes in each line).

    After this I made a few changes by modifying in my account page, then making those matching changes wihin the php code.

    I think that everything is identical, but it may be very slightly different (a space here or there different)

    How picky are they!!??

    How else can I get the code safely served if they are really picky?

    If I copy in an add setting, then later change it in my account page (maybe to add another add somewhere else) do they say "it no longer matches, we get to keep all your hard-earned cash"?

    Help?
     
    MattBeard, Dec 31, 2005 IP
  9. devin

    devin Guest

    Messages:
    4,461
    Likes Received:
    449
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i think it's best to ask them. sounds to me a violation, but i'm in no position to say.
     
    devin, Dec 31, 2005 IP
  10. eiso

    eiso Peon

    Messages:
    583
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #10
    To get adsense safely in your php sites make a text document with the ad (adsense_ad.txt) then use <?php include("adsense_ad.txt") ?> to echo the ad.
     
    eiso, Dec 31, 2005 IP
  11. MattBeard

    MattBeard Peon

    Messages:
    259
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #11
    This is what I was looking for - thanks...

    I will post back with success or failure!
     
    MattBeard, Dec 31, 2005 IP
  12. Crusader

    Crusader Peon

    Messages:
    1,735
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Well, a better option would be to use another extension other than .txt. For PHP it's better to use something like "adsense_ad.inc". By giving it a .txt extension you are making it much easier for people to access the file contents.
     
    Crusader, Dec 31, 2005 IP
  13. MattBeard

    MattBeard Peon

    Messages:
    259
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #13
    It seems to work properly now...

    Thanks again
     
    MattBeard, Dec 31, 2005 IP
  14. MattBeard

    MattBeard Peon

    Messages:
    259
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Why does this make it easier to get at my file? As the page is obviously php generated and .inc is common for php, whouldn't this make it easier?
     
    MattBeard, Dec 31, 2005 IP
  15. Crusader

    Crusader Peon

    Messages:
    1,735
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Well, having it as a txt file makes it easy to read in a Web browser where .inc files won't be as easily readable.
     
    Crusader, Dec 31, 2005 IP
  16. Tom_e_rock

    Tom_e_rock Peon

    Messages:
    428
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #16
    if you do the echo google_color_bg = "532342" to google_color_bg = \"535342\" then there is no difference in whats seen in the outputted code, so you'll be safe on that.
     
    Tom_e_rock, Dec 31, 2005 IP
  17. MattBeard

    MattBeard Peon

    Messages:
    259
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Yes, but if they are really picky about you modifying the code I would rather not take the risk that I may introduce a typo! As far as I know they count the spaces and tabs at the beginning and end of each line when they check!

    I would not be surprised to find that the use a hash algorythm to verify the code (but why would they need to be this tough!)
     
    MattBeard, Jan 1, 2006 IP
  18. cornelius

    cornelius Peon

    Messages:
    206
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #18
    oh boy google aint thats strict to be counting spaces and tabs
     
    cornelius, Jan 1, 2006 IP
  19. Roman

    Roman Buffalo Tamerâ„¢

    Messages:
    6,217
    Likes Received:
    592
    Best Answers:
    0
    Trophy Points:
    310
    #19
    They set a rule and soon as they start making exceptions it ends up to interperation.

    Basically it is their line in the sand and sticking even so much as a toe over it is a no-no.

    Why risk it? The TOS can be your worst enemy or they can be your friend.
     
    Roman, Jan 1, 2006 IP
  20. danzor

    danzor Peon

    Messages:
    208
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #20
    and the file contents being.. adsense code. i dont see the big deal about the file extension.
     
    danzor, Jan 5, 2006 IP