1// Copyright 2023 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 15syntax = "proto3"; 16 17package google.ads.googleads.v14.errors; 18 19option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; 20option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors"; 21option java_multiple_files = true; 22option java_outer_classname = "BiddingErrorProto"; 23option java_package = "com.google.ads.googleads.v14.errors"; 24option objc_class_prefix = "GAA"; 25option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; 26option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; 27 28// Proto file describing bidding errors. 29 30// Container for enum describing possible bidding errors. 31message BiddingErrorEnum { 32 // Enum describing possible bidding errors. 33 enum BiddingError { 34 // Enum unspecified. 35 UNSPECIFIED = 0; 36 37 // The received error code is not known in this version. 38 UNKNOWN = 1; 39 40 // Cannot transition to new bidding strategy. 41 BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; 42 43 // Cannot attach bidding strategy to campaign. 44 CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; 45 46 // Bidding strategy is not supported or cannot be used as anonymous. 47 INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; 48 49 // The type does not match the named strategy's type. 50 INVALID_BIDDING_STRATEGY_TYPE = 14; 51 52 // The bid is invalid. 53 INVALID_BID = 17; 54 55 // Bidding strategy is not available for the account type. 56 BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; 57 58 // Campaign can not be created with given bidding strategy. It can be 59 // transitioned to the strategy, once eligible. 60 CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; 61 62 // Cannot target content network only as campaign uses Page One Promoted 63 // bidding strategy. 64 CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 65 23; 66 67 // Budget Optimizer and Target Spend bidding strategies are not supported 68 // for campaigns with AdSchedule targeting. 69 BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; 70 71 // Pay per conversion is not available to all the customer, only few 72 // customers on the allow-list can use this. 73 PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; 74 75 // Pay per conversion is not allowed with Target CPA. 76 PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; 77 78 // Cannot set bidding strategy to Manual CPM for search network only 79 // campaigns. 80 BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; 81 82 // The bidding strategy is not supported for use in drafts or experiments. 83 BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; 84 85 // Bidding strategy type does not support product type ad group criterion. 86 BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; 87 88 // Bid amount is too small. 89 BID_TOO_SMALL = 30; 90 91 // Bid amount is too big. 92 BID_TOO_BIG = 31; 93 94 // Bid has too many fractional digit precision. 95 BID_TOO_MANY_FRACTIONAL_DIGITS = 32; 96 97 // Invalid domain name specified. 98 INVALID_DOMAIN_NAME = 33; 99 100 // The field is not compatible with the payment mode. 101 NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; 102 103 // Bidding strategy type is incompatible with shared budget. 104 BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; 105 106 // The attached bidding strategy and budget must be aligned with each other 107 // if alignment is specified on either entity. 108 BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; 109 110 // The attached bidding strategy and budget must be attached to the same 111 // campaigns to become aligned. 112 BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 113 39; 114 115 // The aligned bidding strategy and budget must be removed at the same time. 116 BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; 117 118 // cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros. 119 CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41; 120 } 121} 122