--- v18/errors/customer_error.proto 2024-10-16 17:56:30.000000000 +0000 +++ v19/errors/customer_error.proto 2025-04-16 17:10:13.000000000 +0000 @@ -1,46 +1,52 @@ -// Copyright 2024 Google LLC +// 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.v18.errors; +package google.ads.googleads.v19.errors; -option csharp_namespace = "Google.Ads.GoogleAds.V18.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v18/errors;errors"; +option csharp_namespace = "Google.Ads.GoogleAds.V19.Errors"; +option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v19/errors;errors"; option java_multiple_files = true; option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v18.errors"; +option java_package = "com.google.ads.googleads.v19.errors"; option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V18\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V18::Errors"; +option php_namespace = "Google\\Ads\\GoogleAds\\V19\\Errors"; +option ruby_package = "Google::Ads::GoogleAds::V19::Errors"; // Container for enum describing possible customer errors. message CustomerErrorEnum { // Set of errors that are related to requests dealing with Customer. enum CustomerError { // Enum unspecified. UNSPECIFIED = 0; // The received error code is not known in this version. UNKNOWN = 1; // Customer status is not allowed to be changed from DRAFT and CLOSED. // Currency code and at least one of country code and time zone needs to be // set when status is changed to ENABLED. STATUS_CHANGE_DISALLOWED = 2; // CustomerService cannot get a customer that has not been fully set up. ACCOUNT_NOT_SET_UP = 3; + + // Customer creation is denied for policy violation. + CREATION_DENIED_FOR_POLICY_VIOLATION = 4; + + // Manager account is ineligible to create new accounts. + CREATION_DENIED_INELIGIBLE_MCC = 5; } }
/errors/customer_error.proto
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[],[],null,["# /errors/customer_error.proto\n\n```diff\n--- v18/errors/customer_error.proto 2024-10-16 17:56:30.000000000 +0000\n+++ v19/errors/customer_error.proto 2025-04-16 17:10:13.000000000 +0000\n@@ -1,46 +1,52 @@\n-// Copyright 2024 Google LLC\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.v18.errors;\n+package google.ads.googleads.v19.errors;\n\n-option csharp_namespace = \"Google.Ads.GoogleAds.V18.Errors\";\n-option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v18/errors;errors\";\n+option csharp_namespace = \"Google.Ads.GoogleAds.V19.Errors\";\n+option go_package = \"google.golang.org/genproto/googleapis/ads/googleads/v19/errors;errors\";\n option java_multiple_files = true;\n option java_outer_classname = \"CustomerErrorProto\";\n-option java_package = \"com.google.ads.googleads.v18.errors\";\n+option java_package = \"com.google.ads.googleads.v19.errors\";\n option objc_class_prefix = \"GAA\";\n-option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V18\\\\Errors\";\n-option ruby_package = \"Google::Ads::GoogleAds::V18::Errors\";\n+option php_namespace = \"Google\\\\Ads\\\\GoogleAds\\\\V19\\\\Errors\";\n+option ruby_package = \"Google::Ads::GoogleAds::V19::Errors\";\n\n // Container for enum describing possible customer errors.\n message CustomerErrorEnum {\n // Set of errors that are related to requests dealing with Customer.\n enum CustomerError {\n // Enum unspecified.\n UNSPECIFIED = 0;\n\n // The received error code is not known in this version.\n UNKNOWN = 1;\n\n // Customer status is not allowed to be changed from DRAFT and CLOSED.\n // Currency code and at least one of country code and time zone needs to be\n // set when status is changed to ENABLED.\n STATUS_CHANGE_DISALLOWED = 2;\n\n // CustomerService cannot get a customer that has not been fully set up.\n ACCOUNT_NOT_SET_UP = 3;\n+\n+ // Customer creation is denied for policy violation.\n+ CREATION_DENIED_FOR_POLICY_VIOLATION = 4;\n+\n+ // Manager account is ineligible to create new accounts.\n+ CREATION_DENIED_INELIGIBLE_MCC = 5;\n }\n }\n```"]]