Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v0 / errors / bidding_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 = "BiddingErrorProto";
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 bidding errors.
30
31 // Container for enum describing possible bidding errors.
32 message BiddingErrorEnum {
33   // Enum describing possible bidding errors.
34   enum BiddingError {
35     // Enum unspecified.
36     UNSPECIFIED = 0;
37
38     // The received error code is not known in this version.
39     UNKNOWN = 1;
40
41     // Cannot transition to new bidding strategy.
42     BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2;
43
44     // Cannot attach bidding strategy to campaign.
45     CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7;
46
47     // Bidding strategy is not supported or cannot be used as anonymous.
48     INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10;
49
50     // The type does not match the named strategy's type.
51     INVALID_BIDDING_STRATEGY_TYPE = 14;
52
53     // The bid is invalid.
54     INVALID_BID = 17;
55
56     // Bidding strategy is not available for the account type.
57     BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18;
58
59     // Conversion tracking is not enabled for the campaign for VBB transition.
60     CONVERSION_TRACKING_NOT_ENABLED = 19;
61
62     // Not enough conversions tracked for VBB transitions.
63     NOT_ENOUGH_CONVERSIONS = 20;
64
65     // Campaign can not be created with given bidding strategy. It can be
66     // transitioned to the strategy, once eligible.
67     CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21;
68
69     // Cannot target content network only as campaign uses Page One Promoted
70     // bidding strategy.
71     CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY =
72         23;
73
74     // Budget Optimizer and Target Spend bidding strategies are not supported
75     // for campaigns with AdSchedule targeting.
76     BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24;
77
78     // Pay per conversion is not available to all the customer, only few
79     // whitelisted customers can use this.
80     PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25;
81
82     // Pay per conversion is not allowed with Target CPA.
83     PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26;
84
85     // Cannot set bidding strategy to Manual CPM for search network only
86     // campaigns.
87     BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27;
88
89     // The bidding strategy is not supported for use in drafts or experiments.
90     BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28;
91
92     // Bidding strategy type does not support product type ad group criterion.
93     BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29;
94
95     // Bid amount is too small.
96     BID_TOO_SMALL = 30;
97
98     // Bid amount is too big.
99     BID_TOO_BIG = 31;
100
101     // Bid has too many fractional digit precision.
102     BID_TOO_MANY_FRACTIONAL_DIGITS = 32;
103
104     // Invalid domain name specified.
105     INVALID_DOMAIN_NAME = 33;
106
107     // The field is not compatible with payment mode.
108     NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34;
109   }
110 }