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."],[[["\u003cp\u003eLabelError objects represent errors specific to labels in the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThese errors inherit properties like fieldPath, trigger, and errorString from the general ApiError type.\u003c/p\u003e\n"],["\u003cp\u003eLabelError objects contain a specific 'reason' field, which is an enum indicating the nature of the label error.\u003c/p\u003e\n"],["\u003cp\u003ePossible reasons for a LabelError include invalid prefixes, unsupported characters in the label name, or other unknown issues.\u003c/p\u003e\n"],["\u003cp\u003eThe LabelError structure helps developers to diagnose and address problems related to label creation and management within their Ad Manager integrations.\u003c/p\u003e\n"]]],["The `LabelService` handles errors related to labels, inheriting from `ApiError`. Key error types include `ApiVersionError`, `AuthenticationError`, and `InternalApiError`. The `LabelError` specifies issues like `INVALID_PREFIX` for user-created labels with system prefixes, `NAME_INVALID_CHARS` for unsupported characters in label names, and `UNKNOWN` for unexposed values. The service also identifies error causes through `fieldPath`, `fieldPathElements`, and provides error details in `errorString`.\n"],null,["# type LabelError (v202411)\n\n**Service** \n[CreativeWrapperService](/ad-manager/api/reference/v202411/CreativeWrapperService.LabelError) **LabelService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/LabelService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202411/LabelService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/LabelService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/LabelService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/LabelService.CommonError) [CreativeWrapperError](/ad-manager/api/reference/v202411/LabelService.CreativeWrapperError) [FeatureError](/ad-manager/api/reference/v202411/LabelService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202411/LabelService.InternalApiError) **LabelError** [NotNullError](/ad-manager/api/reference/v202411/LabelService.NotNullError) [NullError](/ad-manager/api/reference/v202411/LabelService.NullError) [ParseError](/ad-manager/api/reference/v202411/LabelService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/LabelService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/LabelService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/LabelService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/LabelService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/LabelService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/LabelService.RequiredError) [ServerError](/ad-manager/api/reference/v202411/LabelService.ServerError) [StatementError](/ad-manager/api/reference/v202411/LabelService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/LabelService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/LabelService.StringLengthError) [TypeError](/ad-manager/api/reference/v202411/LabelService.TypeError) [UniqueError](/ad-manager/api/reference/v202411/LabelService.UniqueError)\n\nErrors specific to labels.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/LabelService.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)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`LabelError`** ||\n| ### `reason` | ` `[LabelError.Reason](/ad-manager/api/reference/v202411/LabelService.LabelError.Reason)` ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `INVALID_PREFIX` : A user created label cannot begin with the Google internal system label prefix. `NAME_INVALID_CHARS` : [Label.name](/ad-manager/api/reference/v202411/LabelService.Label#name) contains unsupported or reserved characters. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]