在SinaBlog內文加入AdSense
上文AdSense殺入所有SinaBlog有網友問我如何在SinaBlog內文加入AdSense,之前也有網友問過我,我不想在內文顯示AdSense,所以沒有去研究,但是...
google_ad_client = "pub-3396459011324086";
google_ad_width = 120;
google_ad_height = 60;
google_ad_format = "120x60_as_rimg";
google_cpa_choice = "CAAQma63_wEaCJNKjppHmOdUKOG9mHQ";
google_ad_channel = "";
//-->http://pagead2.googlesyndication.com/pagead/show_ads.js
既然SinaBlog強迫性要我在內文加入AdSense, 那我就加入一個,和他競爭一下吧.
要在SinaBlog加入AdSense,加入前你必須按〔檢視源於碼〕鈕,Copy and Paste那段AdSense程式碼,然後必須把程式碼內的 "<!--" 字串刪除,儲存後就能成功.
就是這個字串,令到大家儲存後無法顯示AdSense,雖然AdSense的Rules不能容許我們更改程式碼,但不更改又無法在SinaBlog顯示,大家改動,責任自負吧.
加入後AdSense顯示如下:
google_ad_client = "pub-3396459011324086";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-10-19: memdb
google_ad_channel = "3431662899";
google_color_border = "2D8930";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//-->
http://pagead2.googlesyndication.com/pagead/show_ads.js