1 // Copyright 2018 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.v0.errors;
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";
29 // Proto file describing bidding errors.
31 // Container for enum describing possible bidding errors.
32 message BiddingErrorEnum {
33 // Enum describing possible bidding errors.
38 // The received error code is not known in this version.
41 // Cannot transition to new bidding strategy.
42 BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2;
44 // Cannot attach bidding strategy to campaign.
45 CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7;
47 // Bidding strategy is not supported or cannot be used as anonymous.
48 INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10;
50 // The type does not match the named strategy's type.
51 INVALID_BIDDING_STRATEGY_TYPE = 14;
53 // The bid is invalid.
56 // Bidding strategy is not available for the account type.
57 BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18;
59 // Conversion tracking is not enabled for the campaign for VBB transition.
60 CONVERSION_TRACKING_NOT_ENABLED = 19;
62 // Not enough conversions tracked for VBB transitions.
63 NOT_ENOUGH_CONVERSIONS = 20;
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;
69 // Cannot target content network only as campaign uses Page One Promoted
71 CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY =
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;
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;
82 // Pay per conversion is not allowed with Target CPA.
83 PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26;
85 // Cannot set bidding strategy to Manual CPM for search network only
87 BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27;
89 // The bidding strategy is not supported for use in drafts or experiments.
90 BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28;
92 // Bidding strategy type does not support product type ad group criterion.
93 BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29;
95 // Bid amount is too small.
98 // Bid amount is too big.
101 // Bid has too many fractional digit precision.
102 BID_TOO_MANY_FRACTIONAL_DIGITS = 32;
104 // Invalid domain name specified.
105 INVALID_DOMAIN_NAME = 33;
107 // The field is not compatible with payment mode.
108 NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34;