Avoid deprecated GPT APIs
Stay organized with collections
Save and categorize content based on your preferences.
Overview
This audit ensures that the page does not use any deprecated Google Publisher Tag (GPT) APIs.
Deprecated APIs are googletag methods or configuration options which are no longer maintained or documented. As these APIs
may be partly or wholly removed from GPT, their use is discouraged and unpredictable behavior could come from their
continued use.
Recommendations
Observe the details of the audit to see which deprecated APIs the page is using and remove their usages.
Many deprecated APIs will have a supported alternative which can be used instead.
Check the official GPT release notes for more information on
deprecated APIs and suggested alternatives.
This audit checks console messages for the presence of any warnings or errors coming from GPT which are related to deprecated or
discouraged APIs.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 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."]]],[]]