AdSense publisher code question

Discussion in 'AdSense' started by alexmez, Mar 26, 2009.

  1. #1
    Friends, I have a question: I recently bought a website that makes $$$ with Google AdSense and my question is do I have to manually re-install all the Google ads or can I just change the publisher ID in the code and that's it?

    If anybody knows the answer to this question or has experience dealing with this issue please let me know what to do!

    Thanks guys.
     
    alexmez, Mar 26, 2009 IP
  2. soul_of_god

    soul_of_god Well-Known Member

    Messages:
    1,298
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #2
    i would say you have to re install all of ads. cause this is adsense don't take any risk to get ban. i know how i miss adsense.
     
    soul_of_god, Mar 26, 2009 IP
  3. mdamin76

    mdamin76 Well-Known Member

    Messages:
    1,752
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    153
    #3
    Yep, who knows if the old code got some amendment? Better replace with a newly created script.
     
    mdamin76, Mar 26, 2009 IP
  4. alexmez

    alexmez Peon

    Messages:
    278
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    OK, persuasive enough... will do. Thanks guys!
     
    alexmez, Mar 26, 2009 IP
  5. zodiac

    zodiac Peon

    Messages:
    2,661
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #5
    it depends if it is old code or the new one.

    this code you can change the pub and channel and it will be fine.
    <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxx";
    google_ad_channel = "xxxxxxxxxxxx";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_color_border = "FFFF88";
    google_color_bg = "FFFFCC";
    google_color_link = "000066";
    google_color_url = "222222";
    google_color_text = "222222";
    //--></script>
    
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    Code (markup):
    this,you have to make a ad in your account.you can just change the numbers for the pub and ad slot if you wanted.
    if you were to just replace the pub with your own,the ad wouldn't even show up since there is no ad slot to match up with the pub id.
    <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxx";
    google_ad_slot = "xxxxxxxx";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
    Code (markup):
     
    zodiac, Mar 26, 2009 IP