• I had a quick question maybe other people have been experiencing on their blogs. I have adsense in my sidebar and in between my first and second post. Things were going smoothly for quite a while and then like maybe 2 or 3 days ago the ads in my sidebar don’t show up and the ads between my posts are not matching my content.

    But when I go to a permalink or single page the ads are perfect. I get spidered several times per day now and I was wondering what may be causing this if it was Google who is messing around with something or maybe I need to make some changes to my template.

    Has anybody experienced this at all? I have 3 other blogs with adsense in the exact same spots all with WordPress and haven’t run into this same issue.


Viewing 13 replies - 1 through 13 (of 13 total)
  • ok thanks!

    Thanks I’ll take a look…

    So you don’t think it is Google then? Only reason I ask is I never had a problem for months and I haven’t even touched the code… then one day… boom!

    OK I added the codes but I had to put this one in my header.php file
    <!– google_ad_section_start –>

    And this one in my footer.php
    <!– google_ad_section_end –>

    Is that ok to put them separated in different files??

    yes, but that may be too wide a section. around the_content tag would be better.

    Would this work in my header.php??

    <!– google_ad_section_start –>
    <div id=”content”>
    <!– google_ad_section_end –>
    <!– end header –>

    remdog: No no, you’re misunderstanding here. Those tags tell google what text to look at when determining what adsense ads to show. So, ideally, you want to put it around your actual post text.

    Remember, all that template code stuff is just to build a single HTML page that the browser sees. So what you want to do is to figure out where your actual post content is created in that page (probably in index.php) and put those tags in there around that area. See?

    Note that even after adding those tags, it may take a week or more for Google to notice and changes to happen.

    i’m referring to “the_content tag” within the loop.

    And… google could be the problem with your ads not showing up.

    Thanks guys. I put the tags in the index.php file before and after my content tags. I will give it a week or more. I get crawled each day but maybe that doesn’t matter.

    What are the chances it is Google’s problem??

    I’m new to WordPress. Are we able to add the Adsense code to the blogs that are hosted on the free WordPress website?

    If so, are there instructions for doing this?

    Beth Freeman

    Beth, at this point, I’m not aware of adsense on the wp.com hosted blogs, but you’ll find more help at http://wordpress.com/forums

    No, they don’t allow adsense at the moment. See here:
    AdSense and other ads

    For all wordpress.com issues, use their forums or the feedback link inside your blog.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Adsense’ is closed to new replies.