I am using the following code at the beginning of the link_summary.tpl file to show one ad block after the fifth posting:
Code:
{if $viewtype neq "full"}
{if $link_shakebox_index % 15 eq 5}
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXX";
google_alternate_ad_url = "";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="XXXXXXXXX";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "774525";
google_color_text = "333333";
google_color_url = "774525";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
{/if}
{/if} I hope this helps.