Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / recommendation_error.proto
1 // Copyright 2018 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v0.errors;
19
20 option csharp_namespace = "Google.Ads.GoogleAds.V0.Errors";
21 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v0/errors;errors";
22 option java_multiple_files = true;
23 option java_outer_classname = "RecommendationErrorProto";
24 option java_package = "com.google.ads.googleads.v0.errors";
25 option objc_class_prefix = "GAA";
26 option php_namespace = "Google\\Ads\\GoogleAds\\V0\\Errors";
27 option ruby_package = "Google::Ads::GoogleAds::V0::Errors";
28
29 // Proto file describing errors from applying a recommendation.
30
31 // Container for enum describing possible errors from applying a recommendation.
32 message RecommendationErrorEnum {
33   // Enum describing possible errors from applying a recommendation.
34   enum RecommendationError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // The specified budget amount is too low e.g. lower than minimum currency
42     // unit or lower than ad group minimum cost-per-click.
43     BUDGET_AMOUNT_TOO_SMALL = 2;
44
45     // The specified budget amount is too large.
46     BUDGET_AMOUNT_TOO_LARGE = 3;
47
48     // The specified budget amount is not a valid amount. e.g. not a multiple
49     // of minimum currency unit.
50     INVALID_BUDGET_AMOUNT = 4;
51
52     // The specified keyword or ad violates ad policy.
53     POLICY_ERROR = 5;
54
55     // The specified bid amount is not valid. e.g. too many fractional digits,
56     // or negative amount.
57     INVALID_BID_AMOUNT = 6;
58
59     // The number of keywords in ad group have reached the maximum allowed.
60     ADGROUP_KEYWORD_LIMIT = 7;
61
62     // The recommendation requested to apply has already been applied.
63     RECOMMENDATION_ALREADY_APPLIED = 8;
64
65     // The recommendation requested to apply has been invalidated.
66     RECOMMENDATION_INVALIDATED = 9;
67
68     // The number of operations in a single request exceeds the maximum allowed.
69     TOO_MANY_OPERATIONS = 10;
70
71     // There are no operations in the request.
72     NO_OPERATIONS = 11;
73
74     // Operations with multiple recommendation types are not supported when
75     // partial failure mode is not enabled.
76     DIFFERENT_TYPES_NOT_SUPPORTED = 12;
77
78     // Request contains multiple operations with the same resource_name.
79     DUPLICATE_RESOURCE_NAME = 13;
80
81     // The recommendation requested to dismiss has already been dismissed.
82     RECOMMENDATION_ALREADY_DISMISSED = 14;
83   }
84 }