縮短廣告代碼載入時間
總覽
廣告代碼程式庫指令碼載入所需的時間。這是從載入網頁到載入代碼的間隔。
建議
這項指標並不代表發生特定問題。而是用來找出有待改善的部分,並追蹤長期的改善情形。
我們的目標是縮短載入廣告代碼程式庫指令碼所需的時間。只要確保其他更具體的稽核項目都通過,應該就能為這項指標帶來重大影響。請特別留意,這次的稽核很可能對以下稽核造成影響:
系統支援下列廣告代碼程式庫指令碼:
媒體庫 |
指令碼 |
AdSense |
pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
pagead2.googlesyndication.com/pagead/show_ads.js
|
Google 發布商廣告代碼 |
.../gpt/pubads_impl_<version>.js |
避免常見的 GPT 導入錯誤
可縮短網頁延遲的廣告代碼設定最佳做法
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-26 (世界標準時間)。
[null,null,["上次更新時間:2024-06-26 (世界標準時間)。"],[[["This metric measures the time it takes for the ad tag library script to load from the start of page load."],["Improving other specific ad script audits, such as avoiding render-blocking resources or loading tags asynchronously, will positively impact this metric."],["The goal is to reduce the script load time, and this metric helps track improvement in that area."],["Common ad tag libraries included in this measurement are AdSense and Google Publisher Tag."]]],["The content focuses on the ad tag library script load time, measured from page load to tag load. The primary aim is to reduce this time, which can be achieved by improving other areas. Key actions include passing audits like those related to the ad request waterfall, avoiding render-blocking resources, loading scripts statically, loading tags asynchronously, and using the recommended GPT host. These actions should positively impact this metric, but it is not indicative of a specific issue. Supported ad tag libraries are provided, including AdSense and Google Publisher Tag.\n"]]