bidding_error.proto 4.8 KB

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