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 such as API communication failures, access denials, and difficulties retrieving AdSense data like ad slots or channels.\u003c/p\u003e\n"],["\u003cp\u003eEach error reason provides specific context, including failed account associations, invalid account access, or problems during verification email resending.\u003c/p\u003e\n"],["\u003cp\u003eThe 'UNKNOWN' reason acts as a placeholder for errors not explicitly defined within the current API version, indicating potential unforeseen issues.\u003c/p\u003e\n"]]],["The document details the `AdSenseAccountError.Reason` enumeration within the Google Ad Manager API v202408. It outlines potential errors when interacting with AdSense accounts, including failures in associating accounts, accessing accounts, retrieving ad slots/channels, getting account statuses, resending verification emails, and unexpected API responses. The errors originate from the `InventoryService`, `LineItemCreativeAssociation`, and `SiteService`. A general `UNKNOWN` error handles values not covered in this API version.\n"],null,["# enum AdSenseAccountError.Reason (v202408)\n\n**Service** \n[InventoryService](/ad-manager/api/reference/v202408/InventoryService.AdSenseAccountError.Reason) **LineItemCreativeAssociation...** [SiteService](/ad-manager/api/reference/v202408/SiteService.AdSenseAccountError.Reason) **Dependencies** \n[AdSenseAccountError](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.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. |"]]