1 // Copyright 2019 Google LLC.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
18 package google.ads.googleads.v1.errors;
20 import "google/api/annotations.proto";
22 option csharp_namespace = "Google.Ads.GoogleAds.V1.Errors";
23 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors";
24 option java_multiple_files = true;
25 option java_outer_classname = "FunctionErrorProto";
26 option java_package = "com.google.ads.googleads.v1.errors";
27 option objc_class_prefix = "GAA";
28 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Errors";
29 option ruby_package = "Google::Ads::GoogleAds::V1::Errors";
30 // Proto file describing function errors.
32 // Container for enum describing possible function errors.
33 message FunctionErrorEnum {
34 // Enum describing possible function errors.
39 // The received error code is not known in this version.
42 // The format of the function is not recognized as a supported function
44 INVALID_FUNCTION_FORMAT = 2;
46 // Operand data types do not match.
47 DATA_TYPE_MISMATCH = 3;
49 // The operands cannot be used together in a conjunction.
50 INVALID_CONJUNCTION_OPERANDS = 4;
52 // Invalid numer of Operands.
53 INVALID_NUMBER_OF_OPERANDS = 5;
55 // Operand Type not supported.
56 INVALID_OPERAND_TYPE = 6;
58 // Operator not supported.
61 // Request context type not supported.
62 INVALID_REQUEST_CONTEXT_TYPE = 8;
64 // The matching function is not allowed for call placeholders
65 INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
67 // The matching function is not allowed for the specified placeholder
68 INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
73 // Missing value for the constant operand.
74 MISSING_CONSTANT_OPERAND_VALUE = 12;
76 // The value of the constant operand is invalid.
77 INVALID_CONSTANT_OPERAND_VALUE = 13;
79 // Invalid function nesting.
82 // The Feed ID was different from another Feed ID in the same function.
83 MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;
85 // The matching function is invalid for use with a feed with a fixed schema.
86 INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;
88 // Invalid attribute name.
89 INVALID_ATTRIBUTE_NAME = 17;