広告をクリックして新しいウィンドウでリンクを開く方法は?
これは私の広告コードです:
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1933305968388659";
/* Try This...:) */
google_ad_slot = "2365466722";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
私が欲しいのは、この広告がクリックされると、新しいブラウザウィンドウで追加のリンクが開くはずです。
以下を試しましたが、うまくいきませんでした
<a href="http.example.com"><script type="text/javascript"><!--
google_ad_client = "ca-pub-1933305968388659";
/* Try This...:) */
google_ad_slot = "2365466722";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></a>