Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / campaign_budget_error.proto
1 // Copyright 2019 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.v1.errors;
19
20 import "google/api/annotations.proto";
21
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 = "CampaignBudgetErrorProto";
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 campaign budget errors.
31
32 // Container for enum describing possible campaign budget errors.
33 message CampaignBudgetErrorEnum {
34   // Enum describing possible campaign budget errors.
35   enum CampaignBudgetError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // The campaign budget cannot be shared.
43     CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;
44
45     // The requested campaign budget no longer exists.
46     CAMPAIGN_BUDGET_REMOVED = 2;
47
48     // The campaign budget is associated with at least one campaign, and so the
49     // campaign budget cannot be removed.
50     CAMPAIGN_BUDGET_IN_USE = 3;
51
52     // Customer is not whitelisted for this campaign budget period.
53     CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4;
54
55     // This field is not mutable on implicitly shared campaign budgets
56     CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6;
57
58     // Cannot change explicitly shared campaign budgets back to implicitly
59     // shared ones.
60     CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7;
61
62     // An implicit campaign budget without a name cannot be changed to
63     // explicitly shared campaign budget.
64     CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8;
65
66     // Cannot change an implicitly shared campaign budget to an explicitly
67     // shared one.
68     CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9;
69
70     // Only explicitly shared campaign budgets can be used with multiple
71     // campaigns.
72     CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10;
73
74     // A campaign budget with this name already exists.
75     DUPLICATE_NAME = 11;
76
77     // A money amount was not in the expected currency.
78     MONEY_AMOUNT_IN_WRONG_CURRENCY = 12;
79
80     // A money amount was less than the minimum CPC for currency.
81     MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13;
82
83     // A money amount was greater than the maximum allowed.
84     MONEY_AMOUNT_TOO_LARGE = 14;
85
86     // A money amount was negative.
87     NEGATIVE_MONEY_AMOUNT = 15;
88
89     // A money amount was not a multiple of a minimum unit.
90     NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16;
91   }
92
93
94 }