type UniqueError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
UniqueError represents an error for a field that must satisfy a uniqueness constraint.
It inherits from ApiError, which includes fields like fieldPath, fieldPathElements, trigger, and errorString to help identify the cause and details of the error.
The namespace for this error ishttps://www.google.com/apis/ads/publisher/v202502.
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."],[],["This content outlines a variety of services and errors within an ad management API, version v202502. Services include managing ads, creatives, targeting, forecasting, inventory, and more, such as `AdRuleService`, `CreativeService`, `ForecastService`, and `TargetingPresetService`. It also details an error hierarchy inheriting from `ApiError`, including specific errors like `AuthenticationError` and `QuotaError`. It lists out the `fieldPath`, `fieldPathElements`, `trigger` and `errorString` of the `ApiError` class. Finally it defines `UniqueError` class.\n"]]