作者PsMonkey (痞子军团团长)
看板Google
标题Re: [问题] Google Adsense
时间Tue Mar 20 01:51:46 2007
※ 引述《solanouta (solanouta)》之铭言:
: 想请问有成功放上广告的大家
: 我用的是bloger放广告
Blogger?
那我建议你直接新增网页元件,里头有 AdSense 的元件
不过我喜欢自己用 JavaScript 元件
因为这样子还可以顺便塞 Google Analytics 的 js 码
另外,你下头把 js 码塞到 CSS 宣告区当中,当然会死掉 XD
: /* Sidebar Content
: ----------------------------------------------- */
: .sidebar {
: color: $sidebartextcolor;
: line-height: 1.5em;
: }
: <script type="text/javascript"><!--
: google_ad_client = "pub-1916351499630993";
: google_ad_width = 336;
: google_ad_height = 280;
: google_ad_format = "336x280_as";
: google_ad_type = "image";
: google_ad_channel = "";
: //-->
: </script>
: <script type="text/javascript"
: src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
: </script>
: .sidebar ul {
: list-style:none;
: margin:0 0 0;
: padding:0 0 0;
: }
--
侃侃长论鲜窒碍 首页:
http://www.psmonkey.idv.tw
众目睽睽无心颤 Blog:
http://ps-think.blogspot.com
茕居少聊常人事
杀头容易告白难 欢迎参观 Java 版(@ptt.cc) \囧/
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.192.66
1F:推 solanouta:那请问应该塞在哪阿@@ 03/20 21:13
2F:→ solanouta:新增网页元件是什麽?? 03/20 21:13