type MetadataMergeSpecError (v202411)
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/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.
|
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 handles metadata operations and may return specific errors relating to metadata merge specifications.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMetadataMergeSpecError\u003c/code\u003e details issues encountered during the merging of metadata, such as conflicting input IDs or improperly defined value ranges.\u003c/p\u003e\n"],["\u003cp\u003eErrors are categorized by reasons like \u003ccode\u003eINPUT_ID_ALREADY_USED\u003c/code\u003e, \u003ccode\u003eBOUND_SPECIFIED_WITHOUT_VALUE\u003c/code\u003e, or \u003ccode\u003eVALUE_SPECIFIED_WITHOUT_BOUND\u003c/code\u003e, offering insight into the cause of the problem.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information on each error, including the field path and a descriptive error string, aids in troubleshooting and resolution.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the provided namespace and field descriptions to interact with the \u003ccode\u003eCmsMetadataService\u003c/code\u003e and understand potential errors.\u003c/p\u003e\n"]]],["The `CmsMetadataService` defines `ApiError` inheritance, which includes various error types like `ApiVersionError`, `AuthenticationError`, `InternalApiError`, and others. `MetadataMergeSpecError`, part of these errors, relates to issues in merging metadata specifications. `MetadataMergeSpecError` contains a `reason` field that specifies error types such as `INPUT_ID_ALREADY_USED`, `MIN_EXCEEDS_MAX`, and `UNKNOWN`. `ApiError` has fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. The namespace for this service is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,[]]