Another set of AdSense related questions (on modifying the code)

Discussion in 'Guidelines / Compliance' started by tayiper, May 4, 2006.

  1. #1
    Well, it's actually only one topic, but this one has more than one "aspect". You see, it says somewhere on the Google's AdSense site that "it isn't allowed to modify the AdSense code" (or something like that, I really forgot the exact wording), so I am interested in the following three things ...


    1. As first, I am interested, could I change the case (i.e. upper-case/lower-case) of values of some particular attributes/properties (not sure which term is the right one here); for example to change from value "FFFFFF" to value "ffffff". Again, it's the way I code, my personal preference.


    2. Further, could I at least remove the carriage-returns, without changing the actual code/text. It's because it is one of my web-coding principles to have as tight code as possible ??

    (few site's "update-schedules" back I even used the HTMLOptim program to compress the code; however, unfortunately it doesn't support XHTML, so I don't use it anymore. Btw., if you want to see the "9.7.2005" entry on events3.html page on my home-site for details on the usage of the linked program, or alternatively the software.html page, particularly below under the "NON-SETUP SUPPORT PROGRAMS" section)


    3. And finally, similarly to the two questions above, could I remove some of the spaces, again, without changing the actual code/text (once more, it's because of my web-coding principles); for instance consider this example below.

    instead of this form:

    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    Code (markup):
    I would rather use:

    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    Code (markup):

    thanks, tayiper
     
    tayiper, May 4, 2006 IP
  2. classifieds

    classifieds Sopchoppy Flash

    Messages:
    825
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    150
    #2
    All good questions.

    Your going to get a lot of opinions. If it was me I would ask adsense support and do what they advise.

    Post their response if you don't mind :)

    -jay
     
    classifieds, May 4, 2006 IP
  3. SFOD_D223

    SFOD_D223 Peon

    Messages:
    4,512
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yea, i wouldn't go around messing with code even if it was for the most miniscule of things. All the adsense folks can say if you asked is, "No". right?
     
    SFOD_D223, May 4, 2006 IP
  4. mihaidamianov

    mihaidamianov Well-Known Member

    Messages:
    1,434
    Likes Received:
    111
    Best Answers:
    0
    Trophy Points:
    190
    #4
    If you want AdSense, you should use the AdSense code as AdSense wants not as you want ;) Take this as a friendly opinion. You shouldn't stick to minor things such as caps #FFF or line breaks, really...
     
    mihaidamianov, May 4, 2006 IP
  5. thudufushi

    thudufushi Well-Known Member

    Messages:
    1,145
    Likes Received:
    75
    Best Answers:
    0
    Trophy Points:
    155
    #5
    Youd be fine with all of what you want to do there IMO. Its not 'real' changes you are talking about.
     
    thudufushi, May 4, 2006 IP
  6. Tyler Banfield

    Tyler Banfield Well-Known Member

    Messages:
    3,027
    Likes Received:
    173
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Technically, you cannot change any code. Period. But, realistically, I don't think Google will take the time to read your AdSense code and then ban you for changing the spacing.
     
    Tyler Banfield, May 6, 2006 IP
  7. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #7
    Well, they said that I could do all the changes except for removing the carriage returns ...


    tayiper
     
    tayiper, May 7, 2006 IP
  8. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Sorry for my weak English, means you can not remove the carriage returns?
     
    tonyinabox, May 7, 2006 IP
  9. NewToAllThis

    NewToAllThis Peon

    Messages:
    741
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes, what are "carriage-returns"?
     
    NewToAllThis, May 7, 2006 IP
  10. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #10
    oh that would be difficult for me to explain. lol

    like when you hit enter, there is a carriage-return sign to make it a new line:p
     
    tonyinabox, May 7, 2006 IP
  11. superclick

    superclick Peon

    Messages:
    369
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #11
    That what you want to do are not real changes of the code so I think you can do that, but in other hand I wouldn't mess with google so I think best thing to do is to ask them.
     
    superclick, May 7, 2006 IP
  12. NewToAllThis

    NewToAllThis Peon

    Messages:
    741
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I know what you mean. Thank you. :)
     
    NewToAllThis, May 8, 2006 IP
  13. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #13
    Yeah, precisely; they said that it would somehow ruin the ad-code ...


    tayiper
     
    tayiper, May 8, 2006 IP
  14. jackburton2006

    jackburton2006 Peon

    Messages:
    5,296
    Likes Received:
    282
    Best Answers:
    0
    Trophy Points:
    0
    #14
    This has been discussed many, many times before. You can "modify" any part of the code manually as long as you can do it via the Adsense ad creation wizard.
     
    jackburton2006, May 8, 2006 IP