changing adsense code ?

Discussion in 'AdSense' started by thesamemanhal, Dec 25, 2009.

  1. #1
    I have just installed a script that comes with author's adsense built-in already and I would like to keep the same ads and the same format but only change the code from the authors info to mine, is changing the ads_cod_number to my ads_cod number enough? or do I need recreate the entire ad using google ?

    Thank you.
     
    thesamemanhal, Dec 25, 2009 IP
  2. Aquarezz

    Aquarezz Notable Member

    Messages:
    3,009
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    225
    #2
    What code is he using? The old one or the new one?

    If it's the old one, yes no problem. For the new one you should create different ads to make sure you're not letting him earn money though ;)

    Greetz
     
    Aquarezz, Dec 25, 2009 IP
  3. MrPJH

    MrPJH Well-Known Member

    Messages:
    1,066
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    155
    #3
    you need to change only pub-xxxxxxxxxxxxxx
    and Chanel too if created
     
    MrPJH, Dec 25, 2009 IP
  4. thesamemanhal

    thesamemanhal Active Member

    Messages:
    1,126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Below is the actual format; which i guess i just need to change pub-xxxxxxxxxxxxxxxx in both of ad_client and ad_host ? do I need to change anything else ?

    <center><script type="text/javascript"><!--
    google_ad_client="pub-xxxxxxxxxxxxxxxx";
    google_ad_host="pub-xxxxxxxxxxxxxxxx";
    google_ad_width=160;
    google_ad_height=600;
    google_ad_format="160x600_as";
    google_ad_type="text_image";
    google_ad_channel="left-side";
    google_color_border="0E89C6";
    google_color_bg="E7F2F5";
    google_color_link="0E89C6";
    google_color_url="0E89C6";
    google_color_text="7B8186";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></center>
     
    thesamemanhal, Dec 25, 2009 IP
  5. Aquarezz

    Aquarezz Notable Member

    Messages:
    3,009
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    225
    #5
    Yep, that's the old code. Just changing the google_ad_client will do fine :D Never seen the host thing before.. I guess you can remove it ;)
     
    Aquarezz, Dec 25, 2009 IP
  6. Izonedig

    Izonedig Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #6
    Change the channel too if you want :)

    By the way, didn't google say to not change the code it gives to you ? So isn't creating a new code by yourself (like you did now, copied it and not created from google) is MORE dangerous than changing a code ?

    (But I still don't think google will care about that)
     
    Izonedig, Dec 25, 2009 IP