type AdSenseAccountError (v202502)

  • The content provides an overview of the AdSenseAccountError within the Google Ad Manager API, detailing its inheritance from ApiError and its specific fields and reasons.

  • The AdSenseAccountError indicates errors related to AdSense account operations within the Ad Manager API.

  • Key fields include fieldPath, fieldPathElements, trigger, and errorString, inherited from ApiError.

  • The primary field specific to AdSenseAccountError is reason, which provides specific enumeration values for different types of AdSense-related errors.

  • Various reasons for AdSenseAccountError are listed, covering issues such as associating accounts, accessing invalid accounts, permission denials, retrieving ad slots or channels, checking account statuses, resending verification emails, and unexpected API responses.

Error for AdSense related API calls.


Namespace
https://www.google.com/apis/ads/publisher/v202502

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.