enum AdSenseAccountError.Reason (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
ASSOCIATE_ACCOUNT_API_ERROR
|
An error occurred while trying to associate an AdSense account with Ad Manager. Unable to
create an association with AdSense or Ad Exchange account.
|
CANNOT_ACCESS_INVALID_ACCOUNT
|
An error occurred while a user without a valid AdSense account trying to access an Ads
frontend.
|
ACCOUNT_ACCESS_DENIED
|
An error occurred while AdSense denied access.
|
GET_AD_SLOT_API_ERROR
|
An error occurred while trying to get an associated web property's ad slots. Unable to
retrieve ad slot information from AdSense or Ad Exchange account.
|
GET_CHANNEL_API_ERROR
|
An error occurred while trying to get an associated web property's ad channels.
|
GET_BULK_ACCOUNT_STATUSES_API_ERROR
|
An error occurred while trying to retrieve account statues from AdSense API. Unable to
retrieve account status information. Please try again later.
|
RESEND_VERIFICATION_EMAIL_ERROR
|
An error occurred while trying to resend the account association verification email. Error
resending verification email. Please try again.
|
UNEXPECTED_API_RESPONSE_ERROR
|
An error occurred while trying to retrieve a response from the AdSense API. There was a
problem processing your request. Please try again later.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eAdSenseAccountError.Reason outlines potential errors encountered when linking or managing AdSense accounts within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese errors encompass issues with account association, access permissions, data retrieval from AdSense, and general API communication problems.\u003c/p\u003e\n"],["\u003cp\u003eEach error reason provides a specific description, aiding in troubleshooting and resolution of the encountered issue.\u003c/p\u003e\n"]]],["The `InventoryService` interacts with `AdSenseAccountError`, which represents errors when associating AdSense accounts with Ad Manager. `AdSenseAccountError.Reason` details specific error types, including API errors during account association, access issues, and problems retrieving ad slots, channels, or account statuses. Actions also include resending verification emails. Other error types include issues with the AdSense API's response, or cases where the error reason is unknown.\n"],null,["# enum AdSenseAccountError.Reason (v202408)\n\n**Service** \n**InventoryService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.AdSenseAccountError.Reason) [SiteService](/ad-manager/api/reference/v202408/SiteService.AdSenseAccountError.Reason) **Dependencies** \n[AdSenseAccountError](/ad-manager/api/reference/v202408/InventoryService.AdSenseAccountError) \n▼\n**AdSenseAccountError.Reason**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|---------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ASSOCIATE_ACCOUNT_API_ERROR` | An error occurred while trying to associate an AdSense account with Ad Manager. Unable to create an association with AdSense or Ad Exchange account. |\n| `CANNOT_ACCESS_INVALID_ACCOUNT` | An error occurred while a user without a valid AdSense account trying to access an Ads frontend. |\n| `ACCOUNT_ACCESS_DENIED` | An error occurred while AdSense denied access. |\n| `GET_AD_SLOT_API_ERROR` | An error occurred while trying to get an associated web property's ad slots. Unable to retrieve ad slot information from AdSense or Ad Exchange account. |\n| `GET_CHANNEL_API_ERROR` | An error occurred while trying to get an associated web property's ad channels. |\n| `GET_BULK_ACCOUNT_STATUSES_API_ERROR` | An error occurred while trying to retrieve account statues from AdSense API. Unable to retrieve account status information. Please try again later. |\n| `RESEND_VERIFICATION_EMAIL_ERROR` | An error occurred while trying to resend the account association verification email. Error resending verification email. Please try again. |\n| `UNEXPECTED_API_RESPONSE_ERROR` | An error occurred while trying to retrieve a response from the AdSense API. There was a problem processing your request. Please try again later. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]