type AdSenseAccountError (v202411)
Error for AdSense related API calls.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
AdSenseAccountError
|
reason
|
AdSenseAccountError.Reason
Enumerations
-
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["`AdSenseAccountError` represents errors encountered during AdSense-related API calls within the Ad Manager system."],["It inherits from `ApiError` and provides specific reasons for AdSense account failures."],["Reasons for errors can include association issues, access denial, and communication problems with the AdSense API."],["Detailed information about the error is available through fields like `fieldPath`, `trigger`, and `errorString`."],["The `reason` field further categorizes the AdSense account error with specific, enumerated values for easier debugging."]]],["The content outlines the `InventoryService`, which includes `LineItemCreativeAssociationService` and `SiteService`. It details the `AdSenseAccountError`, an error specific to AdSense API calls. This error inherits from `ApiError` and encompasses a wide range of potential issues, including account association problems, access denials, and difficulties retrieving information from the AdSense API. It also lists specific error types, like `ASSOCIATE_ACCOUNT_API_ERROR`,`ACCOUNT_ACCESS_DENIED`, with reason and explanation. The content also defines fields, such as `fieldPath`, `fieldPathElements`, `trigger` and `errorString`.\n"]]