• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2023 Google LLC
2//
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
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
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.
14
15syntax = "proto3";
16
17package google.ads.googleads.v14.errors;
18
19option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors";
20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors";
21option java_multiple_files = true;
22option java_outer_classname = "FunctionErrorProto";
23option java_package = "com.google.ads.googleads.v14.errors";
24option objc_class_prefix = "GAA";
25option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors";
26option ruby_package = "Google::Ads::GoogleAds::V14::Errors";
27
28// Proto file describing function errors.
29
30// Container for enum describing possible function errors.
31message FunctionErrorEnum {
32  // Enum describing possible function errors.
33  enum FunctionError {
34    // Enum unspecified.
35    UNSPECIFIED = 0;
36
37    // The received error code is not known in this version.
38    UNKNOWN = 1;
39
40    // The format of the function is not recognized as a supported function
41    // format.
42    INVALID_FUNCTION_FORMAT = 2;
43
44    // Operand data types do not match.
45    DATA_TYPE_MISMATCH = 3;
46
47    // The operands cannot be used together in a conjunction.
48    INVALID_CONJUNCTION_OPERANDS = 4;
49
50    // Invalid numer of Operands.
51    INVALID_NUMBER_OF_OPERANDS = 5;
52
53    // Operand Type not supported.
54    INVALID_OPERAND_TYPE = 6;
55
56    // Operator not supported.
57    INVALID_OPERATOR = 7;
58
59    // Request context type not supported.
60    INVALID_REQUEST_CONTEXT_TYPE = 8;
61
62    // The matching function is not allowed for call placeholders
63    INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9;
64
65    // The matching function is not allowed for the specified placeholder
66    INVALID_FUNCTION_FOR_PLACEHOLDER = 10;
67
68    // Invalid operand.
69    INVALID_OPERAND = 11;
70
71    // Missing value for the constant operand.
72    MISSING_CONSTANT_OPERAND_VALUE = 12;
73
74    // The value of the constant operand is invalid.
75    INVALID_CONSTANT_OPERAND_VALUE = 13;
76
77    // Invalid function nesting.
78    INVALID_NESTING = 14;
79
80    // The Feed ID was different from another Feed ID in the same function.
81    MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15;
82
83    // The matching function is invalid for use with a feed with a fixed schema.
84    INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16;
85
86    // Invalid attribute name.
87    INVALID_ATTRIBUTE_NAME = 17;
88  }
89}
90