Google Adsense Javascript Code Changes!

Discussion in 'AdSense' started by 007, Nov 29, 2007.

  1. #1
    Is anybody else annoyed by the new Adsense default code?

    It now no longer has options for colors coded into the code, but instead pulls all that individually through Adsense.

    It now looks like this:

    <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxx";
    // Ad block name
    google_ad_slot = "xxxxxxxxxx";
    google_ad_width = xxx;
    google_ad_height = xxx;
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    Code (markup):
    You can still use the old code (I hope forever) but you have to build it yourself. Their websites doesn't seem to have any way of using the old format in newly created ad blocks anymore.

    I find this annoying. Anybody else notice this yet?
     
    007, Nov 29, 2007 IP
    m0rtal likes this.
  2. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #2
    That method is a violation of the TOS. You should be having multiple code formats being pull randomly, not altering them on the fly.
     
    astup1didiot, Nov 29, 2007 IP
  3. UKWebmasterForum

    UKWebmasterForum Guest

    Messages:
    477
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm sure you aren't allowed to edit the AdSense code what so ever, it is violating the TOS like ssandecki said. I think only AdSense Premium members are allowed to edit the AdSense code.
     
    UKWebmasterForum, Nov 29, 2007 IP
  4. astup1didiot

    astup1didiot Notable Member

    Messages:
    5,926
    Likes Received:
    270
    Best Answers:
    0
    Trophy Points:
    280
    #4
    They can't either, they just get different codes and options.
     
    astup1didiot, Nov 29, 2007 IP
  5. 007

    007 Well-Known Member

    Messages:
    328
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Edited post to be more clear. The annoying thing about this is that I have to log into AdSense to change colors now instead of being able to edit the code.

    Editing the code isn't a violation of TOS if you are just typing in different color codes. It's just avoiding having to log into Adsense and get the exact same result.

    Selecting the black color in the Adsense color chart will output 000000 into the code. Typing 000000 into the code is 100% identical results.
     
    007, Nov 29, 2007 IP
  6. adcents

    adcents Peon

    Messages:
    161
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I would be careful with doing that. Most people view that as violating the terms. I realize that it is easier and does not effect anything, but it is better to be safe than banned.
     
    adcents, Nov 29, 2007 IP
  7. UKWebmasterForum

    UKWebmasterForum Guest

    Messages:
    477
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Ah. That's explains it. I would of imagined Google would Police this somehow, otherwise people could blend their AdSense ads with their normal content and make an absolute fortune.

    OK. I guess this may be a bit of a hassle for you then :p. You got any plans on how to conquer your problem?
     
    UKWebmasterForum, Nov 29, 2007 IP