type MetadataMergeSpecError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CmsMetadataService
Errors associated with metadata merge specs.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
MetadataMergeSpecError
|
reason
|
MetadataMergeSpecError.Reason
The error reason represented by an enum.
Enumerations
-
INPUT_ID_ALREADY_USED
- The merge rule has an input id that is already used by another merge rule.
-
BOUND_SPECIFIED_WITHOUT_VALUE
- The merge rule has an bucket where a bound type was specified without a min/max.
-
VALUE_SPECIFIED_WITHOUT_BOUND
- The merge rule has an bucket where a min/max was specified without a bound type.
-
MIN_EXCEEDS_MAX
- The merge rule has an bucket range where the min exceeds the max.
-
MORE_THAN_ONE_INPUT_KEY_HAS_VALUE_RULES
- Tried to merge two or more rules which have value rules.
-
VALUE_SPECIFIED_DOES_NOT_MATCH_OUTPUT_KEY
- Tried to set a rule for a value that does not match rule output namespace.
-
CANNOT_MERGE_VALUES_WHERE_VALUE_BUCKET_EXISTS
- Tried to merge values on an existing rule that has value bucketing.
-
CANNOT_MODIFY_RESERVED_KEY
- Tried to create a rule that depends on a reserved key.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCmsMetadataService\u003c/code\u003e allows management of metadata in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMetadataMergeSpecError\u003c/code\u003e is a specific error type related to merging metadata specifications.\u003c/p\u003e\n"],["\u003cp\u003eThis error can arise due to various reasons like conflicting input IDs, improper bucket boundaries, or incompatible value types, all detailed within the \u003ccode\u003ereason\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eErrors are further categorized by a field path (\u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003efieldPathElements\u003c/code\u003e) and descriptive messages (\u003ccode\u003etrigger\u003c/code\u003e, \u003ccode\u003eerrorString\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this service is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `CmsMetadataService` defines a range of potential `ApiError` types, including `AuthenticationError`, `InternalApiError`, and `QuotaError`. It also details specific `MetadataMergeSpecError` errors, which occur in metadata merging processes. These errors include issues like duplicate input IDs, improper bound specifications, min/max range errors, conflicting value rules, and attempts to modify reserved keys. Each error also contains field `fieldPath`, `fieldPathElements`, `trigger` and `errorString`. The `MetadataMergeSpecError` has a `reason` enum listing the error type.\n"],null,[]]