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.

Advance Google Adsense Code?

Discussion in 'AdSense' started by dark0circles, Jan 24, 2007.

  1. #1
    hi, i saw a web site with google adsense code like this, is it legal? I would like to use this if it is ok :)

    <script type="text/javascript">
                if(typeof google_page_url=="undefined") {
            google_page_url = document.location.href;
          }
        </script>
    
                
            
        	    	
                <script type="text/javascript">
            <!--
             google_ad_channel = "somethingsomething"
            // -->
          </script>
    
                	<div class="googleAd">
    <script type="text/javascript"><!--
    google_ad_client = "somethingsomething";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    google_color_border = "FFFFFF";
    google_color_bg = "FFFFFF";
    google_color_link = "00389F";
    google_color_url = "000000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    </div>
    Code (markup):

     
    dark0circles, Jan 24, 2007 IP
  2. tonyinabox

    tonyinabox Peon

    Messages:
    1,988
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    0
    #2
    some of them are premium publisher, they have different code from us.

    do not try to change code by yourself.. i just warn... or if you want, up to you. lol
     
    tonyinabox, Jan 25, 2007 IP
    1EightT likes this.
  3. C-Academy

    C-Academy Peon

    Messages:
    167
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This chages the adsens in what way?
     
    C-Academy, Jan 25, 2007 IP
  4. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #4
    look like the codes have been tampered with. Beware. not sure? check with google adsense team. Do not try anything funny with google!
     
    toby, Jan 25, 2007 IP
  5. vatu

    vatu Active Member

    Messages:
    372
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Never change the adsesne code dear
     
    vatu, Jan 25, 2007 IP
  6. lawrenz

    lawrenz Peon

    Messages:
    246
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    how about the color? you can manipulate only the color, right? :)
     
    lawrenz, Jan 25, 2007 IP
  7. goscript

    goscript Prominent Member

    Messages:
    2,753
    Likes Received:
    306
    Best Answers:
    0
    Trophy Points:
    315
    #7
    All that this script does is change the google ad channel for every specific page. Even so i would not recomend you modifying the google ad code.
     
    goscript, Jan 25, 2007 IP
  8. 1EightT

    1EightT Guest

    Messages:
    2,646
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    0
    #8
    The TOS do not allow for code modification. This person may be a premium publisher though. Premium publishers CAN modify the ad code. Digg is a good example.
     
    1EightT, Jan 25, 2007 IP