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
|
|
CANNOT_ACCESS_INVALID_ACCOUNT
|
|
ACCOUNT_ACCESS_DENIED
|
|
GET_AD_SLOT_API_ERROR
|
|
GET_CHANNEL_API_ERROR
|
|
GET_BULK_ACCOUNT_STATUSES_API_ERROR
|
|
RESEND_VERIFICATION_EMAIL_ERROR
|
|
UNEXPECTED_API_RESPONSE_ERROR
|
|
UNKNOWN
|
|
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\u003e\u003ccode\u003eAdSenseAccountError.Reason\u003c/code\u003e is an enumeration within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eIt defines a set of error reasons related to AdSense accounts within Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eReasons include issues like API errors, account access problems, and verification email issues.\u003c/p\u003e\n"],["\u003cp\u003eThese error codes are used by services like \u003ccode\u003eInventoryService\u003c/code\u003e, \u003ccode\u003eLineItemCreativeAssociationService\u003c/code\u003e, and \u003ccode\u003eSiteService\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these error reasons to understand and troubleshoot issues with AdSense accounts in their Ad Manager integrations.\u003c/p\u003e\n"]]],["The core content details the `AdSenseAccountError.Reason` enumeration within the `InventoryService`, `LineItemCreativeAssociationService`, and `SiteService`. It outlines potential errors encountered when interacting with AdSense accounts, listing reasons such as `ASSOCIATE_ACCOUNT_API_ERROR`, `CANNOT_ACCESS_INVALID_ACCOUNT`, `ACCOUNT_ACCESS_DENIED`, and various API-related failures. It also includes generic errors like `UNEXPECTED_API_RESPONSE_ERROR` and `UNKNOWN`. The namespace for these errors is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum AdSenseAccountError.Reason (v202408)\n\n**Service** \n[InventoryService](/ad-manager/api/reference/v202408/InventoryService.AdSenseAccountError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.AdSenseAccountError.Reason) **SiteService** **Dependencies** \n[AdSenseAccountError](/ad-manager/api/reference/v202408/SiteService.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` | |\n| `CANNOT_ACCESS_INVALID_ACCOUNT` | |\n| `ACCOUNT_ACCESS_DENIED` | |\n| `GET_AD_SLOT_API_ERROR` | |\n| `GET_CHANNEL_API_ERROR` | |\n| `GET_BULK_ACCOUNT_STATUSES_API_ERROR` | |\n| `RESEND_VERIFICATION_EMAIL_ERROR` | |\n| `UNEXPECTED_API_RESPONSE_ERROR` | |\n| `UNKNOWN` | |"]]