type PermissionError (v202411)

  • The page lists various services related to ad management, each linked to potential permission errors within the 202411 API version.

  • The content highlights errors related to incorrect permissions under the "PermissionError" category.

  • PermissionError is an inherited error from ApiError, including fields such as fieldPath, fieldPathElements, trigger, and errorString.

  • The specific reason for a PermissionError can be either PERMISSION_DENIED (user lacks required permission) or UNKNOWN (value not exposed by the API version).

Errors related to incorrect permission.


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.

PermissionError

reason

PermissionError.Reason


Enumerations
PERMISSION_DENIED
User does not have the required permission for the request.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.