避免等待載入事件
總覽
這項稽核會檢查網頁載入事件是否封鎖了第一個廣告請求。廣告請求本身不會與 DOM 互動,也不會影響網頁完全載入。因此,建議您盡早提出廣告請求,以加快廣告載入速度。
建議
移除任何防止廣告請求在網頁 load
或 domContentLoaded
事件觸發前發出的邏輯。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-26 (世界標準時間)。
[null,null,["上次更新時間:2024-06-26 (世界標準時間)。"],[[["This audit verifies if the initial ad request is delayed until after the page load event, potentially slowing down ad loading times."],["Ad requests can be made before the page fully loads, as they don't depend on the DOM."],["Optimize ad loading speed by removing any code that prevents ad requests before the `load` or `domContentLoaded` events."]]],["The audit verifies if the initial ad request is blocked during a page load. Ad requests are independent of the DOM and do not require a fully loaded page. It's advised to initiate ad requests as early as possible to accelerate ad loading. To improve ad loading speed, logic that delays ad requests until after the `load` or `domContentLoaded` events should be removed.\n"]]