Is it ok to make this slite change in the code?

Discussion in 'AdSense' started by abdobasha2004, Sep 3, 2008.

  1. #1
    I want to put the code like old fashion like this :

    <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxxxxxx";
    google_ad_channel ="xxxxxxxxxx";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_color_border = "ECF3EB";
    google_color_bg = "ECF3EB";
    google_color_link = "226C22";
    google_color_url = "226C22";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    PHP:

    not as it is now generated in our accounts as " ad slots " only

    is this ok?
     
    abdobasha2004, Sep 3, 2008 IP
  2. monfis

    monfis Well-Known Member

    Messages:
    1,476
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Yes you can still use the old code format, but I think only if you use an ad code that you created before the change. I am still with lots of sites where the old code is placed and they keep working fine. When I create a new page on those sites, I usually copy and paste the code from an already existing one. Changing the colours and border in the code has never been a problem if page design changed and I had to adjust the look of the ads.
     
    monfis, Sep 3, 2008 IP
  3. jeezy17

    jeezy17 Peon

    Messages:
    510
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can use the old code, but Google does not recommend it.
     
    jeezy17, Sep 3, 2008 IP
  4. abdobasha2004

    abdobasha2004 Well-Known Member

    Messages:
    1,117
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    #4
    It may be to be simple
    if you want to know exactly, It must be like this to run adsense revenue share
     
    abdobasha2004, Sep 3, 2008 IP
  5. angilina

    angilina Notable Member

    Messages:
    7,824
    Likes Received:
    186
    Best Answers:
    0
    Trophy Points:
    260
    #5
    I think you can run the new code as easily as the old code on revenue sharing sites.

    You change the Publisher's ID in the code right? So instead of changing the ID, you may change the whole code.

    But for that, you need your users to enter the whole code.

    may be you are right, the old code is better for such sites :)
     
    angilina, Sep 3, 2008 IP
  6. app789

    app789 Peon

    Messages:
    330
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes u can.
     
    app789, Sep 3, 2008 IP
  7. abdobasha2004

    abdobasha2004 Well-Known Member

    Messages:
    1,117
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    #7
    thats for sure and the new one can not apply
    thank u , thats is what i like to hear :)
     
    abdobasha2004, Sep 3, 2008 IP