サポートが終了した GPT API を使用しない
概要
この監査では、サポートが終了した Google パブリッシャー タグ(GPT)API がページで使用されていないことを確認します。
サポートが終了した API とは、管理またはドキュメント化されなくなった googletag メソッドや設定オプションのことです。これらの API は GPT から部分的または完全に削除される可能性があるため、使用は推奨されません。また、使用し続けると、予期しない動作が発生する可能性があります。
推奨事項
監査の詳細をモニタリングして、ページで使用されている非推奨の API を確認し、その使用を削除します。
非推奨の API の多くには、代わりに使用できるサポートされている代替 API が用意されています。
サポートが終了した API や推奨される代替手段について詳しくは、GPT 公式リリースノートをご覧ください。
この監査では、非推奨の API や非推奨の API に関連する GPT の警告やエラーがないか、コンソール メッセージをチェックします。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-06-26 UTC。
[null,null,["最終更新日 2024-06-26 UTC。"],[[["This audit identifies the presence of outdated Google Publisher Tag (GPT) APIs on a webpage that are no longer supported and could lead to unpredictable behavior."],["Publishers should review the audit details to pinpoint the specific deprecated APIs being used and replace them with supported alternatives, ensuring optimal functionality."],["Refer to the official GPT release notes for comprehensive information regarding deprecated APIs and their recommended replacements to maintain a healthy ad setup."]]],["The audit checks for deprecated Google Publisher Tag (GPT) APIs, which are no longer maintained. Usage of these APIs, identified through console warnings or errors, is discouraged and may lead to unpredictable behavior or removal. Users should identify deprecated APIs and remove them from the page. The official GPT release notes are provided for reference, offering information on deprecation details and suggested alternatives.\n"]]