lazyload the images

最新精選 Featured post

漫畫 - 異世界 清單

訂閱


每月雙數周日為固定發佈日

本站內任何媒體的內容,包括但不限於 影片/聲音檔/文章/圖片,純屬資訊分享和教學用途, 本站內容只作為一般用途,它並沒有考慮您的個人需要、投資目標及特定財政狀況。 本站內容並非投資意見,亦不構成任何投資產品之要約、招攬或建議購買或出售任何存款或投資任何下述投資產品。

投資者須注意,所有投資涉及風險(包括可能會損失投資本金),投資產品的價格可升或可跌, 而所呈列的過往表現資料並不表示將來亦會有類似的表現。

投資者在作出任何投資決定前,投資者應進行所須或適當的獨立調查,包括評估所涉及的投資風險。

24/07/2026

google auto ads broken website structure

文章分類: ,

 



問題

Google Ads 自動生成廣告

破壞了網站結構



AI 答案

Access your website’s source code or your CMS theme editor.Locate the opening <div> or <section> tag for the structural element you want to protect.Add the class google-anno-skip to the tag.


Ad Settings Preview Tool: Log into your Google AdSense account, go to Ads, click Auto ads, and select your site. Use the Ad settings preview to manually select and exclude specific areas or pages that are misbehaving.


解決方法

visit 到 Google AdSense https://www.google.com/adsense

找到你的網站 > Edit 編輯

click 按 desktop (海豚是desktop 版本出問題)

excluded area


然後它會顯示廣告有可能生成的位置


滑鼠 mouse over

按一下變紅色 即禁止廣告生在該區域

按 Apply 套用到整個website

可選立即套用

或 接下來90天 有50% 瀏覽會套用新設定

(很貼心的設計)




小結

海豚兩個也做了,先試了 google-anno-skip CSS class 好像沒用


再試了 disable 區域好像沒用


海豚習慣用150% 看blogger,因為文字太細

當調回100% 瀏覽時,好像成功了。

按很多 F5 ,都沒有被自動廣告弄壞layout,應該算解決了吧?!


感覺 disable 區域比較可靠。


Reference

prompts

google auto generated ads broken my website structure. deny generate in specify div element


AutoAds showing ads in section that's not even selectable to exclude

https://support.google.com/adsense/thread/408821779/autoads-showing-ads-in-section-that-s-not-even-selectable-to-exclude?hl=en

Exclude areas on your pages from showing in-page Auto ads

https://support.google.com/adsense/answer/12626543?visit_id=639194732456335985-4232354073&rd=1

No comments:

Post a Comment