This page describes the various messages you can encounter when viewing the Google Publisher Console Page Request tab. Each message is assigned a severity, which indicates the relative importance of the issue being reported.
If you need more help with GPT, see the support options.
- Error
- GPT encountered a problem that prevented it from performing an action. Messages at this level should be addressed immediately to ensure ads are able to load properly.
- Warning
- GPT encountered a problem while performing an action, but was able to continue. The action may or may not have been successful. Messages at this level should be reviewed regularly and addressed as necessary to ensure ads are being loaded correctly.
- Information
- GPT performed an action. Messages at this level are purely informative and do not require attention.
Message variables
Many Google Publisher Console messages use variables to provide additional
context that's useful for debugging. In this document, message variables are
shown as capitalized strings which describe the value they represent, preceded
by a $
character. For example, $DIVID would represent the ID of a
<div>
element unique to your page.
Messages shown here may not exactly match what you see in the Google Publisher Console. If you're having trouble locating a specific message reported in the console, try searching for parts of the message that do not contain any values that are specific to your site.
Error messages
Message | |
---|---|
403 HTTP Response: $ERROR. |
Issue A GPT ad request was rejected with HTTP 403. |
Attempted to load GPT from both standard and limited ads domains. |
Issue
|
ContentService is no longer available. Use the browser's built-in DOM APIs to directly add content to div elements instead. |
Issue The |
Div ID passed to googletag.display() does not match any defined slots: $DIVID. |
Issue Attempted to display an ad slot that was not previously defined. Details
The specified $DIVID value passed into
|
Error in googletag.defineSlot: Cannot create slot $ADUNITPATH. Div element "$DIVID" is already associated with another slot: $OTHERADUNITPATH. |
Issue Unable to create an ad slot with the specified div ID. The ID is currently associated with another ad slot. Details
Every GPT ad slot must be associated with a unique
|
Error in googletag.defineSlot: Invalid ad unit path provided $ADUNITPATH, see https://support.google.com/admanager/answer/10477476 for more information. |
Issue Unable to create an ad slot with the specified ad unit path as it is invalid. |
Exception in $TYPE event listener: "$ERROR". |
Issue An unhandled exception was encountered while executing a GPT event listener. Details
A
user-defined event listener
for event type $TYPE caused an error. Review the provided
$ERROR message for more information and take appropriate action to
resolve the issue in the event listener. |
Exception in googletag.cmd function: $ERROR. |
Issue An unhandled exception was encountered while executing a function in the GPT command queue. Details A function added to the GPT command queue caused an error. Review the provided $ERROR message for more information and take appropriate action to resolve the issue in the queued function. |
Warning messages
Message | |
---|---|
$ADFORMAT $ADUNITPATH not requested: Detected browser is currently unsupported. |
Issue The specified out-of-page format is not supported on the current browser. Details
Certain GPT-managed out-of-page formats depend on CSS and JavaScript features
that aren't available in all browsers. GPT has determined that the browser
attempting to request the ad identified by $ADUNITPATH lacks the
necessary functionality to properly render the specified format,
($ADFORMAT).
|
$ADFORMAT $ADUNITPATH not requested: Format already created on the page. |
Issue An ad of the specified out-of-page format has already been created on the page. Details
Certain GPT-managed out-of-page formats are limited to a single instance
per-page. The ad identified by $ADUNITPATH specifies an out-of-page
format ($ADFORMAT) that is already in use by another slot on the
page.
|
$ADFORMAT $ADUNITPATH not requested: Format currently only supported on mobile. |
Issue The specified out-of-page format can only be displayed on mobile devices. Details
Certain GPT-managed out-of-page formats are only supported on mobile devices. An
attempt was made to request the ad identified by $ADUNITPATH from a
non-mobile device.
|
$ADFORMAT $ADUNITPATH not requested: Format currently only supports portrait orientation. |
Issue The specified out-of-page format can only be displayed in portrait orientation. Details
Certain GPT-managed out-of-page formats are only supported when the width of the
viewport is less than its height (portrait orientation). An attempt was made to
request the ad identified by $ADUNITPATH on a page where the width of
the viewport exceeds its height (landscape orientation).
|
$ADFORMAT $ADUNITPATH not requested: Frequency cap of $FREQCAP has been exceeded. |
Issue The specified out-of-page format has been shown the maximum number of times for the current user within a short period. Details
Certain GPT-managed out-of-page formats use frequency capping to limit the
number of times a single user can be shown the same type of ad within a fixed
timeframe (usually 1 hour). An attempt to request the ad identified by
$ADUNITPATH was blocked, since the user has been shown an ad of the
specified format ($ADFORMAT) the maximum number of times
($FREQCAP) for the current frequency capping period.
|
$ADFORMAT $ADUNITPATH not requested: GPT is not running in the top-level window. |
Issue The specified out-of-page format can only be displayed in the topmost window. Details
Certain GPT-managed out-of-page formats are only supported when GPT is running
in the topmost window. An attempt was made to request the ad identified by
$ADUNITPATH from a nested window.
|
$ADFORMAT $ADUNITPATH not requested: The viewport exceeds the current maximum width of 2500px. |
Issue The viewport exceeds the current maximum allowed for the specified out-of-page format on the current device. Details
Certain GPT-managed out-of-page formats are only supported when the width of the
viewport is less than a predefined maximum value. An attempt was made to request
the ad identified by $ADUNITPATH on a page where the width of the
viewport was greater than this maximum value.
|
$ADFORMAT ad slot ineligible as page is not mobile optimized: $ADUNITPATH. |
Issue The specified ad slot is only eligible on mobile optimized pages. Details
For a page to be considered mobile optimized, the zoom level must be neutral.
Typically, this is accomplished by adding the following to the
<meta name="viewport" content="width=device-width, initial-scale=1"> |
$FORMAT $ADUNITPATH not requested: Unable to access local storage to determine if the frequency cap has been exceeded due to insufficient user consent. |
Issue Local storage cannot be accessed to determine if the frequency cap for the specified out-of-page format has been exceeded due to insufficient user consent. Details
Frequency capping requires access to local storage in the user's browser to
store how frequently an ad of the specified format ($ADFORMAT) has
been shown. An attempt to request the ad identified by $ADUNITPATH
was blocked because GPT is unable to determine if the current frequency cap has
been exceeded, due to a lack of user consent to access local storage.
|
An IAB US Privacy Consent Management Provider was detected, but was unresponsive. Please review USP integration to ensure an optimal setup. |
Issue Info logging that the IAB US Privacy API did not respond within the timeout. |
Attempted to load GPT multiple times. |
Issue
|
Beta keys cannot be cleared. clearTargeting() was called on $BETAKEY. |
Issue Attempted to clear beta keys. Details
Once set, beta keys cannot be modified or unset. Ensure that beta keys are only
set when beta functionality is desired for the life of the page. Additionally,
you should ensure that your code does not call
|
Error in googletag.display: could not find div with id "$DIVID" in DOM for slot: $ADUNITPATH. |
Issue Attempted to display the ad slot associated with the specified div ID, but no div element with that ID could be found on the page. Details
The specified $DIVID value passed into
|
Failed to register listener. Unknown event type: $TYPE. |
Issue Attempted to register an event listener, but the specified event type is not defined by GPT. Details
An invalid event type was specified when calling
|
GPT must be loaded from the limited ads URL to configure limited ads functionality via the PrivacySettings API. |
Issue Attempted to configure limited ads serving via Details
You can instruct GPT to request limited ads in two ways:
In order to manually control limited ads, you must load GPT from the limited ads URL. The version of GPT served from this URL contains additional safeguards against accessing client-side storage by default. See Display a limited ad documentation for more information. |
GPT script src version $VERSION is deprecated and will soon expire and fail to show ads. https://developers.google.com/publisher-tag/release-notes#2023-06-19 |
Issue Warns the user that the current GPT version is deprecated and will soon expire and fail to show ads. See https://developers.google.com/publisher-tag/release-notes#2023-06-19. |
Ignoring a call to setCollapseEmptyDiv(false, true). Slots that start out collapsed should also collapse when empty. Slot: $SLOT. |
Issue An invalid Details
Slots configured to collapse before an ad is fetched must also be configured to
collapse when empty. This is to ensure that the behavior of the slot is
predictable in the event that it cannot be filled. |
Ignoring the $METHODNAME($ARGS) call since the service is already enabled. |
Issue The specified method was called after the Details
Certain |
Invalid argument: $METHODNAME($ARG). Valid values: $VALUES. |
Issue An invalid enum value was passed to the specified GPT method. Details
The specified GPT method ($METHODNAME) only accepts
enum values from the list provided ($VALUES). |
Invalid arguments: $METHODNAME($ARGS). |
Issue An invalid argument was passed to the specified GPT method. Details
The arguments ($ARGS) passed to the specified GPT
method ($METHODNAME) were incorrect or improperly formatted. |
Invalid arguments: $METHODNAME($ARGS). All zero-area slot sizes were removed. |
Issue An invalid argument was passed to the specified GPT method. Details
The
|
Invalid object passed to $METHODNAME($ARGS), for $KEY: $VALUE. |
Issue An invalid object was passed to the specified GPT method. Details
The arguments ($ARGS) passed to the specified GPT
method ($METHODNAME) contained an object with an incorrect or
improperly formatted key-value pair ({$KEY: $VALUE}).
|
Legacy browser does not support intersection observer causing lazy render/fetch as well as viewability events not to work properly. |
Issue Legacy browser does not support intersection observer. Details
GPT has determined that the current browser lacks support for the
Intersection Observer API. This API is used by certain GPT features to
determine the visibility of ad elements. Without access to this API, these
features will not work. |
Publisher betas $BETAKEYS were declared after enableServices() was called. |
Issue Attempted to declare beta keys after the Details
Beta keys must be set before
|
Publisher betas may only be declared once. $BETAKEYS were added after betas had already been declared. |
Issue Attempted to declare beta keys more than once. Details
Individual beta keys may only be set once, before
|
Refresh was throttled $COUNTER time(s) for slot: $ADUNITPATH |
Issue Attempted to refresh an ad slot too quickly. The refresh request was ignored. Details
There were multiple calls to
|
SRA requests may include a maximum of 30 ad slots. $NUMATTEMPTED were requested, so the last $NUMIGNORED were ignored. |
Issue Too many ad slots were included in a Single Request Architecture (SRA) request, preventing some slots from being loaded. Details
The maximum number of ad slots allowed in a single
SRA request
(30) was exceeded. Ad slots above this maximum were ignored
($NUMIGNORED), preventing them from being filled. // Define first batch of slots. googletag.defineSlot(..., 'ad-slot-1') .addService(googletag.pubads()); ... googletag.defineSlot(..., 'ad-slot-5') .addService(googletag.pubads()); // Enable SRA and services. googletag.pubads().enableSingleRequest(); googletag.enableServices(); // Issue first SRA request (ad-slot-1 to ad-slot-5). googletag.display('ad-slot-5'); // Define second batch of slots. googletag.defineSlot(..., 'ad-slot-6') .addService(googletag.pubads()); ... googletag.defineSlot(..., 'ad-slot-10') .addService(googletag.pubads()); // Issue second SRA request (ad-slot-6 to ad-slot-10). googletag.display('ad-slot-10'); |
Size mapping is null because invalid mappings were added: $MAPPINGS. |
Issue A Details
A call to
|
Slot object at position $POSITION is of incorrect type. |
Issue An invalid slot object was included in an array passed to Details
A slot object at position $POSITION in an array passed to either
|
Slots cannot be cleared until service is enabled. |
Issue The Details GPT ad slots start out empty and cannot be filled until:
PubAdsService.clear()
have no effect.See the control ad loading and refresh guide for more information. |
getName on googletag.Slot is deprecated and will be removed. Use getAdUnitPath instead. |
Issue
Details
The Unsupported — var slot = googletag.defineSlot('/1234567/sports', [160, 600], 'div-1') .addService(googletag.pubads()); var name = slot.getName(); // name is '/1234567/sports' Supported — var slot = googletag.defineSlot('/1234567/sports', [160, 600], 'div-1') .addService(googletag.pubads()); var path = slot.getAdUnitPath(); // path is '/1234567/sports' |
setConfig key $COMPONENT is deprecated and $ALTERNATIVE should be used instead. |
Issue The specified |
setCorrelator has been deprecated. See the Google Ad Manager help page on "Creative selection for multiple ad slots" for more information: https://support.google.com/admanager/answer/183281. |
Issue The Details References to this method should be removed from your code. This method is no longer supported and may be removed in a future release. |
updateCorrelator has been deprecated. See the Google Ad Manager help page on "Creative selection for multiple ad slots" for more information: https://support.google.com/admanager/answer/183281. |
Issue The Details References to this method should be removed from your code. This method is no longer supported and may be removed in a future release. |
Information messages
Message | Description |
---|---|
An IAB Global Privacy Platform Consent Management Provider was detected. Attempting to retrieve consent information. |
An attempt to retrieve consent information from the IAB Tech Lab Global Privacy Platform user consent API is being made. |
An IAB Transparency & Consent v2 Consent Management Provider was detected. Attempting to retrieve consent information. |
An attempt to retrieve consent information from the IAB Tech Lab Consent Management Platform API is being made. |
An IAB Transparency & Consent v2 Consent Management Provider was detected. Interaction with this CMP $STATUS, though this does not guarantee downstream validation passes. Currently, failures may result in non-personalized ads, but may be rejected in the future. |
The result of an attempt to retrieve consent information from the IAB Tech Lab Consent Management Platform API. |
An IAB US Privacy Consent Management Provider was detected. Attempting to retrieve consent information. |
An attempt to retrieve consent information from the IAB Tech Lab U.S. Privacy User Signal API is being made. |
Associated service "$SERVICE" with slot "$ADUNITPATH". |
The specified slot was associated with the specified service. |
Cannot find targeting attribute "$KEY" for "$SERVICEORSLOT". |
The targeting key for the specified service or slot could not be found. |
Cleared slot targeting. |
All targeting key-values have been cleared for a specific slot. |
Cleared targeting attribute "$KEY" for $ADUNITPATH. |
All targeting for key "$KEY" has been cleared for the specified slot. |
Cleared targeting attribute "$KEY" for $SERVICE. |
All targeting for key "$KEY" has been cleared for the specified service. |
Clearing all page level ad category exclusions |
All ad category exclusions have been cleared at the page-level. |
Clearing all slot level ad category exclusions |
All ad category exclusions have been cleared for a specific slot. |
Clearing slot contents. |
The contents of a slot or slots are being cleared in response to a |
Clearing targeting for service "$SERVICE". |
All targeting key-values have been cleared for the specified service. |
Completed rendering ad for slot: $ADUNITPATH. |
An ad response has been processed for the specified slot. This does not necessarily indicate that a creative has been rendered. See |
Created service: $SERVICE. |
The specified service was created. |
Created slot: $ADUNITPATH. |
A slot has been created with the specified ad unit path. |
Destroyed slot: $ADUNITPATH. |
The specified slot has been destroyed. |
Enabling collapsing of containers when there is no ad content. Collapse before ad fetch: $COLLAPSEBEFOREADFETCH. |
Enabling automatic collapsing of slot |
Fetching ad for slot: $ADUNITPATH. |
An ad is being fetched for the specified slot. |
Invoked queued function. Total: $NUMINVOKED. Errors: $NUMERRORS. |
A user-defined function (or collection of functions) which was previously added to the |
Receiving ad for slot: $ADUNITPATH. |
An ad response was received for the specified slot. |
Refresh for slot $DIVID pending googletag.enableServices. |
A request to |
Refreshing ads. |
The contents of a slot or slots are being refreshed in response to a |
Rendering ad for slot: $ADUNITPATH. |
An ad response is being processed for the specified slot. This does not necessarily indicate that a creative has been received. |
Service $SERVICE is already associated with slot $SLOT. |
Attempted to associate the specified service and slot, but an association already existed. A slot cannot be associated with a service more than once. |
Service is already enabled |
Attempted to enable a service that was already enabled. Services cannot be enabled more than once. |
Set $ATTRIBUTE=$VALUE. |
The specified attribute has been set to the specified value. |
Set attribute $KEY=$VALUE for $SERVICE. |
An AdSense attribute has been set for the specified service. |
Set targeting attribute $KEY=$VALUE for $SERVICEORSLOT. |
A targeting key-value has been set for the specified service or slot. |
Setting page level ad category exclusion: $CATEGORYEXCLUSION. |
The specified ad category exclusion has been set at the page-level. |
Setting slot level ad category exclusion: $CATEGORYEXCLUSION. |
The specified ad category exclusion has been set for a specific slot. |
Using $REQUESTMODE mode to fetch ads. |
The specified ad request mode has been enabled. |