type PermissionError (v202411)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
PermissionError is an error related to incorrect permissions.
It inherits from ApiError and has fields for fieldPath, fieldPathElements, trigger, and errorString.
PermissionError has a specific field called "reason" which is an enumeration indicating if the user does not have the required permission or if the value is unknown.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content details various services within an ad management API, including `AdRuleService`, `AdjustmentService`, `ContentService`, `ForecastService`, `LineItemService`, `OrderService`, `ReportService`, and many others, alongside services like `TeamService` and `UserService`. It outlines different types of errors, such as `ApiError` and `PermissionError`, with `PermissionError` indicating that a user lacks the necessary authorization for a specific request. All the previous are related to the Namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"]]