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.

Adsense does not display after switching theme

Discussion in 'Content Management' started by eddiemoth, Aug 28, 2008.

  1. #1
    Hi folks,
    I need help from you guys again to see what is wrong with my adsense codes. They suddenly stop displaying after I tried to switch the template back and forth. I could not figure out anything wrong and need another set of eyes to help identify the problem. I appreciate your time.
    Thanks
     
    eddiemoth, Aug 28, 2008 IP
  2. Alvin

    Alvin Notable Member

    Messages:
    2,076
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Without any info about script of cms you are using no one will be able to help you.

    In general adsense code is placed in theme files so if you switch theme it will give you same result you are getting now... i.e. adsense will not display on your site.

    Hope this helps.

    Alvin:)
     
    Alvin, Sep 1, 2008 IP
  3. eddiemoth

    eddiemoth Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I now found out that it is not theme related as codes on my other subdomains also with a different theme does not display either. I used the codes provided from Google without any changes at all. Does anybody see anything wrong?

    <script type="text/javascript"><!--
    google_ad_client = "pub-7264040352364211";
    /* 120x600, created 8/27/08 */
    google_ad_slot = "3434209415";
    google_ad_width = 120;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
     
    eddiemoth, Sep 2, 2008 IP
  4. Analyst

    Analyst Well-Known Member

    Messages:
    623
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Adsense code is basically placed in the particular theme, and when you switch to another theme that another theme needs to have code in it. Make sure that all of your themes contain the adsense code in them!
     
    Analyst, Sep 4, 2008 IP
  5. eddiemoth

    eddiemoth Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I found the problem now. Google had diabled Adsense for that site. I got them to restored for me now. Thanks for checking.
     
    eddiemoth, Sep 5, 2008 IP