Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

AdSense Ads not showing in post, side bar


  #1  
Old Jan 9, 2012, 02:31 PM
vinceesq
 
32 posts · Jun 2011
Hi all,

I see many people are having the same issues with AdSense codes not showing in posts and sidebars. I tried some of the solutions I found here, but none worked for me.

I use Whydowork Adsense plugin to show AdSense in my posts. It does show this 728x90 ad but not the 300x250 ad. I also wanted to add 200x90 ad to the right sidebar (using a text widget), but it doesn't show up there either.

I use FireFox, and I tried IE, which shows the same: no 300x250 ad, and no 200x90 in sidebar. I dumped cache, and I cleared browser cash too, but to no avail.

I thought it might be the plugin, so I tried the same set up on a different blog with a different theme, and everything works there. So, I know it's not the plugin.

I had the AdSense issue before, and it was resolved by adding a number of patches to the theme. I do have all these patches installed here, but it doesn't help.

I set CSS: Compress? to NO as well.

I am currently using 3.7.1 version.

I do have 160x600 AdSense Ad in the left sidebar using a text widget. So, it puzzles me completely, why the 200x90 AdSense unite won't show in the right sidebar, also using a text widget.

Any suggestions as to why I am not seeing the second AdSense Ad in the post area and another in the sidebar?

I'd appreciate any help.

Thanks in advance.
  #2  
Old Jan 13, 2012, 04:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 13, 2012, 09:30 AM
vinceesq
 
32 posts · Jun 2011
Thanks, juggledad.

Here's the url: http://www.iccfutures.com/. When I view the page source, I can see all AdSense codes there. But, for some strange reason two codes are not showing: the one in the post and a links unit in a sidebar. Again, thanks in advance for your help.
  #4  
Old Jan 13, 2012, 10:30 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try commenting out all but one location at a time - in other words, just have the last ad on the left sidebar and see what happens.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jan 13, 2012, 11:19 AM
vinceesq
 
32 posts · Jun 2011
I am not sure what you are asking me to do. There's just one ad on the left side bar - the 160 x 600 AdSense ad block. When I remove it, the 300 x 250 AdSense block appears in the post area, and also a 200 x 90 Adsense link unit appears on the right side bar. Have a look for yourself.
Removing other text widgets like Recent posts, recent comments or tag cloud from the left side bar had no effect on the 300 x 250 Adsense ad block in the post. Is that what you wanted me to do?

Thanks again, juggledad.
  #6  
Old Jan 13, 2012, 12:40 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I saw you had four adsense slots and wondered if testing each slot it the ad would come up. Since you removed one and another won worked, I'd suspect something at on the google side - is it possible that they are limiting how many you have?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jan 13, 2012, 01:53 PM
vinceesq
 
32 posts · Jun 2011
I thought that too! But then, the same set up works on a different site, where I use 3 ad blocks (2 in the post and 1 in a side bar) in addition to a text link unit at the top.
Ichecked Google's TOS and as far as I can see I am still allowed 3 ad blocked+3 link units+2 search buttons.
I think it might be the combination of the the theme and the plugin I am using. I'll try to disable the plugin and see if I can manually insert AdSense, if all works then at least I'll know that it's not Google that's limiting me. I haven't tried that yet. I'll let you know.
  #8  
Old Jan 13, 2012, 03:52 PM
vinceesq
 
32 posts · Jun 2011
Quote:
Originally Posted by vinceesq
I thought that too! But then, the same set up works on a different site, where I use 3 ad blocks (2 in the post and 1 in a side bar) in addition to a text link unit at the top.
Ichecked Google's TOS and as far as I can see I am still allowed 3 ad blocked+3 link units+2 search buttons.
I think it might be the combination of the the theme and the plugin I am using. I'll try to disable the plugin and see if I can manually insert AdSense, if all works then at least I'll know that it's not Google that's limiting me. I haven't tried that yet. I'll let you know.
Ok, I have tried to place AdSense codes directly into the post without using the plugin, and the 300 x 250 code still didn't show up. However, I also noticed that the codes have been transformed like this:

Original AdSense Code:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxxxxxxxx4483";
/* 728 x 90, ICC Futures */
google_ad_slot = "1533261252";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

After the post has been updated:

<script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-xxxxxxxxxxx4483"; /* 728 x 90, ICC Futures */ google_ad_slot = "1533261252"; google_ad_width = 728; google_ad_height = 90;
// ]]></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[

// ]]></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[

// ]]>
</script>

I am not sure why this // <![CDATA[ is added in place of <!--, and also see at the bottom.

Anyway, Whydowork AdSense works perfectly well on my other website, showing all three AdSense blocks - two in the post and one in the sidebar. The only difference is that on the other website I am still using Atahualpa version 3.6.7 with patches applied, and here I am using 3.7.1 also with patches applied. Therefore, I think it's the theme issue as it works on the older version but not on the newer one. Any ideas why?

Thanks again in advance.

Bookmarks

Tags
adsense ads, adsense code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I post an adsense ad after the 3rd post in the center column? jonco Center area post/pages 1 Jan 3, 2012 06:37 PM
AdSense Not Showing in 3.7.3 kidgas Sidebars & Widgets 6 Dec 14, 2011 05:12 PM
[SOLVED] AdSense not showing after upgrade vinceesq New Versions, & Updating 2 Sep 27, 2011 10:49 AM
Max Adsense Banner Pro and side bar bigliettaio Plugins & Atahualpa 2 Jan 1, 2010 06:02 PM
Post headings moving from side to side and font size reducing sparry Atahualpa 3 Wordpress theme 3 Jun 21, 2009 06:23 AM


All times are GMT -6. The time now is 07:35 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.