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 = "BiddingStrategyErrorProto";
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 bidding strategy errors.
32 // Container for enum describing possible bidding strategy errors.
33 message BiddingStrategyErrorEnum {
34 // Enum describing possible bidding strategy errors.
35 enum BiddingStrategyError {
39 // The received error code is not known in this version.
42 // Each bidding strategy must have a unique name.
45 // Bidding strategy type is immutable.
46 CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3;
48 // Only bidding strategies not linked to campaigns, adgroups or adgroup
49 // criteria can be removed.
50 CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4;
52 // The specified bidding strategy is not supported.
53 BIDDING_STRATEGY_NOT_SUPPORTED = 5;