告訴 Google Adsense 主要內容區域的方式 - 2012

Google Adsense 會判斷網頁的內容來出廣告, 不過要判斷網頁的主要內容是很困難的事, 於是他定義一組 HTML 註解的方法, 讓你可以告訴他主要內容在哪邊~

官方 Google Adsense 說明:

指定 Google Adsense 抓取目標內容區塊 來搭配出現合適廣告 的方式

指定目標區塊 讓 Google Adsense 比較容易找到內容, 然後出相對應的廣告.

目前分兩種, 指定區塊 或者 忽略區塊 這兩種方式, 在此作個紀錄.

指定目標區塊

<!-- google_ad_section_start -->
... 內容 ...
<!-- google_ad_section_end -->

要忽略的區段

<!-- google_ad_section_start(weight=ignore) -->
... 不相關的內容 ...
<!-- google_ad_section_end -->

作者: Tsung

對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.

發表迴響

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料