type AdSenseAccountError (v202405)
Error for AdSense related API calls.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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.
-
GET_AD_SLOT_API_ERROR
- An error occured 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 occured 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 occured while trying to resend the account association verification email. Error
resending verification email. Please try again.
-
UNEXPECTED_API_RESPONSE_ERROR
- An error occured 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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["The `InventoryService.AdSenseAccountError` object represents errors encountered during AdSense-related API calls within the Ad Manager platform."],["This error object inherits from `ApiError` and provides details like field path, trigger, and error string."],["`AdSenseAccountError` includes a `reason` field with specific enumerated values explaining the nature of the AdSense error (e.g., association issues, data retrieval problems)."],["Developers can use the `reason` field to understand and address AdSense-related errors when interacting with the Ad Manager API."],["This error is part of the `https://www.google.com/apis/ads/publisher/v202405` namespace."]]],["The `InventoryService` includes `AdSenseAccountError`, inheriting from `ApiError`. `AdSenseAccountError` details errors related to AdSense API interactions. `ApiError` contains `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. `AdSenseAccountError`'s `reason` enumerates issues such as `ASSOCIATE_ACCOUNT_API_ERROR`, `GET_AD_SLOT_API_ERROR`, and `UNEXPECTED_API_RESPONSE_ERROR`. These errors represent problems with account association, retrieving ad slots or channels, or unexpected API responses. Also provided is the namespace.\n"]]