Custom html module not working with k2 category but working with k2 category items

Hello all…
I have created a custom html module to show google-ads on my site pages.
The module seems to work fine in inner pages but not on the main pages…
one can refer the following urls:


I have used k2 component for creating categories and items.

For the Ad module, i have inserted the following script:

<script type=“text/javascript”>// <![CDATA[
google_ad_client = “ca-pub-2995201838327641”;
/* Homepage-AD */
google_ad_slot = “7073881303”;
google_ad_width = 250;
google_ad_height = 250;
// ]]></script>
<script type=“text/javascript” src=“”>// <![CDATA[

// ]]></script>