Google AdSense (General)
If something should be displayed only for not logged in users:
{if !$user}<p>Hi unknown user!</p>{/if}
If the code contains JavaScript you might need to enclose it in {literal}...{/literal}:
{if !$user}{literal}Code goes here ...{/literal}{/if}
Alex