type AdSenseAccountError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
|
fieldPathElements
|
FieldPathElement[]
|
trigger
|
xsd:string
|
errorString
|
xsd:string
|
AdSenseAccountError
|
reason
|
AdSenseAccountError.Reason
Enumerations
-
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\u003eAdSenseAccountError objects detail errors related to AdSense accounts within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis error inherits from ApiError, providing context on the error's location and trigger.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field explains the specific AdSense account issue encountered, with various potential reasons defined as enumerations.\u003c/p\u003e\n"],["\u003cp\u003eInventoryService, LineItemCreativeAssociationService, and SiteService are the services where this error can occur.\u003c/p\u003e\n"],["\u003cp\u003eThis error is part of the Google Ad Manager API version v202408 under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content outlines error types within the Ad Manager API, specifically for `InventoryService`, `LineItemCreativeAssociationService`, and `SiteService`. These services inherit `ApiError`, which includes fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. `AdSenseAccountError` is detailed, listing reasons for failure such as account access issues, API errors, and unknown issues. There are several different types of errors that inherit from `ApiError` like `ApiVersionError`, `AuthenticationError`, etc.\n"],null,["# type AdSenseAccountError (v202408)\n\n**Service** \n[InventoryService](/ad-manager/api/reference/v202408/InventoryService.AdSenseAccountError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.AdSenseAccountError) **SiteService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/SiteService.ApiError) \n▼\n**AdSenseAccountError** [ApiVersionError](/ad-manager/api/reference/v202408/SiteService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/SiteService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/SiteService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/SiteService.CommonError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/SiteService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/SiteService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/SiteService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202408/SiteService.NotNullError) [NullError](/ad-manager/api/reference/v202408/SiteService.NullError) [ParseError](/ad-manager/api/reference/v202408/SiteService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/SiteService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/SiteService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/SiteService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/SiteService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202408/SiteService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/SiteService.RequiredError) [ServerError](/ad-manager/api/reference/v202408/SiteService.ServerError) [SiteError](/ad-manager/api/reference/v202408/SiteService.SiteError) [StatementError](/ad-manager/api/reference/v202408/SiteService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/SiteService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/SiteService.StringLengthError) [UrlError](/ad-manager/api/reference/v202408/SiteService.UrlError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/SiteService.FieldPathElement)`[]` \u003cbr /\u003e |\n| ### `trigger` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `errorString` | ` `xsd:`string` \u003cbr /\u003e |\n| **`AdSenseAccountError`** ||\n| ### `reason` | ` `[AdSenseAccountError.Reason](/ad-manager/api/reference/v202408/SiteService.AdSenseAccountError.Reason)` ` *** ** * ** *** **Enumerations** `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` : \u003cbr /\u003e |"]]