推奨ホストから GPT を読み込む
概要
この監査では、Google パブリッシャー タグ(GPT)ライブラリが読み込まれていることを確認します
おすすめします。ブラウザで新しいホストへの接続を開く必要があります。
この作業には長い時間がかかる可能性があります。GPT を
すべての広告配信リクエストが 1 つのホストに対して
開く接続の数を減らし、ページの読み込み速度を改善する
向上します
推奨事項
GPT が securepubads.g.doubleclick.net
から読み込まれていることを確認します。次に例を示します。
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
ナビゲーションと Resource Timing を使用して実際の読み込みパフォーマンスを評価する
Google パブリッシャー タグを使ってみる
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["Loading the Google Publisher Tag (GPT) library from the recommended host (`securepubads.g.doubleclick.net`) improves page load performance by reducing the number of connections the browser needs to open."],["This audit ensures GPT is loaded from the optimal source to streamline ad serving requests and enhance overall website speed."],["Using the recommended host for GPT minimizes delays associated with opening new connections for each referenced host."]]],["The audit checks if the Google Publisher Tag (GPT) library loads from the recommended host, `securepubads.g.doubleclick.net`. Loading GPT from this host ensures all ad requests use a single domain, reducing connection time and improving page load speed. It is recommended to load GPT using the provided example script tag, ensuring that it's loaded from the specified domain. Using multiple hosts will slow the connection process.\n"]]