지원 중단된 GPT API 피하기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
개요
이 감사는 페이지에서 지원 중단된 Google 게시자 태그 (GPT) API를 사용하지 않는지 확인합니다.
지원 중단된 API는 더 이상 유지 관리되거나 문서화되지 않는 googletag 메서드 또는 구성 옵션입니다. 이러한 API는 GPT에서 부분적으로 또는 완전히 제거될 수 있으므로 사용하지 않는 것이 좋으며 계속 사용하면 예측할 수 없는 동작이 발생할 수 있습니다.
권장사항
감사의 세부정보를 관찰하여 페이지에서 사용 중인 지원 중단된 API를 확인하고 사용을 삭제합니다.
지원 중단된 많은 API에 대신 사용할 수 있는 대체 API가 지원됩니다.
지원 중단된 API 및 추천 대안에 관한 자세한 내용은 공식 GPT 출시 노트를 확인하세요.
이 감사에서는 지원 중단되었거나 권장되지 않는 API와 관련하여 GPT에서 발생한 경고 또는 오류가 있는지 콘솔 메시지를 확인합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003ePublishers should review the audit details to pinpoint the specific deprecated APIs being used and replace them with supported alternatives, ensuring optimal functionality.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the official GPT release notes for comprehensive information regarding deprecated APIs and their recommended replacements to maintain a healthy ad setup.\u003c/p\u003e\n"]]],["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"],null,["# Avoid deprecated GPT APIs\n\nOverview\n--------\n\nThis audit ensures that the page does not use any deprecated Google Publisher Tag (GPT) APIs.\nDeprecated APIs are googletag methods or configuration options which are no longer maintained or documented. As these APIs\nmay be partly or wholly removed from GPT, their use is discouraged and unpredictable behavior could come from their\ncontinued use.\n\nRecommendations\n---------------\n\nObserve the details of the audit to see which deprecated APIs the page is using and remove their usages.\nMany deprecated APIs will have a supported alternative which can be used instead.\n\nCheck [the official GPT release notes](https://developers.google.com/publisher-tag/release-notes) for more information on\ndeprecated APIs and suggested alternatives.\n\nMore information\n----------------\n\nThis audit checks console messages for the presence of any warnings or errors coming from GPT which are related to deprecated or\ndiscouraged APIs. \n[View audit source](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/lighthouse-plugin-publisher-ads/audits/deprecated-api-usage.js) [Improve this article](https://github.com/googleads/publisher-ads-lighthouse-plugin/tree/HEAD/docs/audits/deprecated-api-usage.md) [Report an issue](https://github.com/googleads/publisher-ads-lighthouse-plugin/issues/new?labels=documentation&template=documentation-feedback.md&title=Documentation+feedback%3A+deprecated-api-usage.md)\n\n\u003cbr /\u003e"]]