広告 JS のブロック時間を短縮する
概要
この監査では、広告関連のスクリプトに起因するブロック時間を測定します。これにより、ユーザーが認識できる程度の時間、広告関連のスクリプトによって JS スレッドがブロックされた時間(入力遅延やコンテンツの読み込みに直接影響するため)を捕捉できます。
推奨事項
広告 JS のブロック時間の最も重要な要素は、一度に読み込まれる広告の数です。おすすめの方法は次のとおりです。
ブロック時間の定義方法については、合計ブロック時間に関する記事をご覧ください。
広告関連のスクリプトとみなされるのは、広告タグかサードパーティのウェブによって「広告」スクリプトとラベル付けされている場合です。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-26 UTC。
[null,null,["最終更新日 2024-06-26 UTC。"],[[["This audit identifies the time users experience delays due to ad scripts blocking the main thread, which negatively impacts loading speed and responsiveness."],["The primary cause of ad-related blocking is loading too many ads simultaneously, so it is recommended to reduce the number or density of ads."],["Optimizing ad loading by lazy loading below-the-fold ads and reducing batch sizes for Single Request Architecture can minimize blocking and enhance user experience."],["Ad-related scripts are identified through ad tags and third-party web classifications, providing insights into specific scripts contributing to blocking."]]],["This audit measures blocking time caused by ad-related scripts, impacting user experience through input delay and content loading. Key actions to reduce this time include: loading fewer ads concurrently or reducing ad density, lazy loading ads below the fold, and minimizing batch sizes with Single Request Architecture (SRA) in GPT. A script is ad-related if it is an ad tag or identified as such by Third Party Web. Total blocking time details are in the mentioned article.\n"]]