Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19309

ezinepedia on "[Plugin: W3 Total Cache] Minify problem with adsense - One Ad is not showing"

$
0
0

Hi All,

I have three ads of adsense on my website. Those are mentioned below:

<script type="text/javascript"><!--
'Truncated..........Ad1
google_ad_width = 700;
google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
'Truncated..........Ad2
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
'Truncated..........Ad3
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

When I enable Minify in W3TC the very first ad is not displaying. The minified code shows like below

<script type="text/javascript"><!--
'Truncated..........Ad1
google_ad_width = 700;
google_ad_height = 90;
</script>

<script type="text/javascript"><!--
'Truncated..........Ad2
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

<script type="text/javascript"><!--
'Truncated..........Ad3
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

Meaning that the below script code is missing in the first adsense code.

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

Please anyone who could help me.

http://wordpress.org/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>