Stay organized with collections
Save and categorize content based on your preferences.
--- v20/errors/campaign_budget_error.proto 2025-06-04 18:55:28.000000000 +0000+++ v21/errors/campaign_budget_error.proto 2025-08-05 14:28:35.000000000 +0000@@ -1,102 +1,107 @@// Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
-package google.ads.googleads.v20.errors;+package google.ads.googleads.v21.errors;-option csharp_namespace = "Google.Ads.GoogleAds.V20.Errors";-option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v20/errors;errors";+option csharp_namespace = "Google.Ads.GoogleAds.V21.Errors";+option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v21/errors;errors";option java_multiple_files = true;
option java_outer_classname = "CampaignBudgetErrorProto";
-option java_package = "com.google.ads.googleads.v20.errors";+option java_package = "com.google.ads.googleads.v21.errors";option objc_class_prefix = "GAA";
-option php_namespace = "Google\\Ads\\GoogleAds\\V20\\Errors";-option ruby_package = "Google::Ads::GoogleAds::V20::Errors";+option php_namespace = "Google\\Ads\\GoogleAds\\V21\\Errors";+option ruby_package = "Google::Ads::GoogleAds::V21::Errors";// Proto file describing campaign budget errors.
// Container for enum describing possible campaign budget errors.
message CampaignBudgetErrorEnum {
// Enum describing possible campaign budget errors.
enum CampaignBudgetError {
// Enum unspecified.
UNSPECIFIED = 0;
// The received error code is not known in this version.
UNKNOWN = 1;
// The campaign budget cannot be shared.
CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;
// The requested campaign budget no longer exists.
CAMPAIGN_BUDGET_REMOVED = 2;
// The campaign budget is associated with at least one campaign, and so the
// campaign budget cannot be removed.
CAMPAIGN_BUDGET_IN_USE = 3;
// Customer is not on the allow-list for this campaign budget period.
CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4;
// This field is not mutable on implicitly shared campaign budgets
CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6;
// Cannot change explicitly shared campaign budgets back to implicitly
// shared ones.
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7;
// An implicit campaign budget without a name cannot be changed to
// explicitly shared campaign budget.
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8;
// Cannot change an implicitly shared campaign budget to an explicitly
// shared one.
CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9;
// Only explicitly shared campaign budgets can be used with multiple
// campaigns.
CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10;
// A campaign budget with this name already exists.
DUPLICATE_NAME = 11;
// A money amount was not in the expected currency.
MONEY_AMOUNT_IN_WRONG_CURRENCY = 12;
// A money amount was less than the minimum CPC for currency.
MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13;
// A money amount was greater than the maximum allowed.
MONEY_AMOUNT_TOO_LARGE = 14;
// A money amount was negative.
NEGATIVE_MONEY_AMOUNT = 15;
// A money amount was not a multiple of a minimum unit.
NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16;
// Total budget amount must be unset when BudgetPeriod is DAILY.
TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18;
// The period of the budget is not allowed.
INVALID_PERIOD = 19;
// Cannot use accelerated delivery method on this budget.
CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20;
// Budget amount must be unset when BudgetPeriod is CUSTOM.
BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21;
++ // Budget amount or total amount must be above this campaign's per-day+ // minimum. See the error's details.budget_per_day_minimum_error_details+ // field for more information.+ BUDGET_BELOW_PER_DAY_MINIMUM = 22; }
}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# /errors/campaign_budget_error.proto\n\n```diff\n--- v20/errors/campaign_budget_error.proto 2025-06-04 18:55:28.000000000 +0000\n+++ v21/errors/campaign_budget_error.proto 2025-08-05 14:28:35.000000000 +0000\n@@ -1,102 +1,107 @@\n // Copyright 2025 Google LLC\n //\n // Licensed under the Apache License, Version 2.0 (the \"License\");\n // you may not use this file except in compliance with the License.\n // You may obtain a copy of the License at\n //\n // http://www.apache.org/licenses/LICENSE-2.0\n //\n // Unless required by applicable law or agreed to in writing, software\n // distributed under the License is distributed on an \"AS IS\" BASIS,\n // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n // See the License for the specific language governing permissions and\n // limitations under the License.\n\n syntax = \"proto3\";\n\n-package google.ads.googleads.v20.errors;\n+package google.ads.googleads.v21.errors;\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V20.Errors\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v20/errors;errors\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V21.Errors\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v21/errors;errors\";\n option java_multiple_files = true;\n option java_outer_classname = \"CampaignBudgetErrorProto\";\n-option java_package = \"com.google.ads.googleads.v20.errors\";\n+option java_package = \"com.google.ads.googleads.v21.errors\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V20\\\\Errors\";\n-option ruby_package = \"Google::Ads::GoogleAds::V20::Errors\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V21\\\\Errors\";\n+option ruby_package = \"Google::Ads::GoogleAds::V21::Errors\";\n\n // Proto file describing campaign budget errors.\n\n // Container for enum describing possible campaign budget errors.\n message CampaignBudgetErrorEnum {\n // Enum describing possible campaign budget errors.\n enum CampaignBudgetError {\n // Enum unspecified.\n UNSPECIFIED = 0;\n\n // The received error code is not known in this version.\n UNKNOWN = 1;\n\n // The campaign budget cannot be shared.\n CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17;\n\n // The requested campaign budget no longer exists.\n CAMPAIGN_BUDGET_REMOVED = 2;\n\n // The campaign budget is associated with at least one campaign, and so the\n // campaign budget cannot be removed.\n CAMPAIGN_BUDGET_IN_USE = 3;\n\n // Customer is not on the allow-list for this campaign budget period.\n CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4;\n\n // This field is not mutable on implicitly shared campaign budgets\n CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6;\n\n // Cannot change explicitly shared campaign budgets back to implicitly\n // shared ones.\n CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7;\n\n // An implicit campaign budget without a name cannot be changed to\n // explicitly shared campaign budget.\n CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8;\n\n // Cannot change an implicitly shared campaign budget to an explicitly\n // shared one.\n CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9;\n\n // Only explicitly shared campaign budgets can be used with multiple\n // campaigns.\n CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10;\n\n // A campaign budget with this name already exists.\n DUPLICATE_NAME = 11;\n\n // A money amount was not in the expected currency.\n MONEY_AMOUNT_IN_WRONG_CURRENCY = 12;\n\n // A money amount was less than the minimum CPC for currency.\n MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13;\n\n // A money amount was greater than the maximum allowed.\n MONEY_AMOUNT_TOO_LARGE = 14;\n\n // A money amount was negative.\n NEGATIVE_MONEY_AMOUNT = 15;\n\n // A money amount was not a multiple of a minimum unit.\n NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16;\n\n // Total budget amount must be unset when BudgetPeriod is DAILY.\n TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18;\n\n // The period of the budget is not allowed.\n INVALID_PERIOD = 19;\n\n // Cannot use accelerated delivery method on this budget.\n CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20;\n\n // Budget amount must be unset when BudgetPeriod is CUSTOM.\n BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21;\n+\n+ // Budget amount or total amount must be above this campaign's per-day\n+ // minimum. See the error's details.budget_per_day_minimum_error_details\n+ // field for more information.\n+ BUDGET_BELOW_PER_DAY_MINIMUM = 22;\n }\n }\n```"]]