Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / customer_error.proto
1 // Copyright 2019 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 //
15
16 syntax = "proto3";
17
18 package google.ads.googleads.v1.errors;
19
20 import "google/api/annotations.proto";
21
22 option csharp_namespace = "Google.Ads.GoogleAds.V1.Errors";
23 option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors";
24 option java_multiple_files = true;
25 option java_outer_classname = "CustomerErrorProto";
26 option java_package = "com.google.ads.googleads.v1.errors";
27 option objc_class_prefix = "GAA";
28 option php_namespace = "Google\\Ads\\GoogleAds\\V1\\Errors";
29 option ruby_package = "Google::Ads::GoogleAds::V1::Errors";
30
31
32 // Container for enum describing possible customer errors.
33 message CustomerErrorEnum {
34   // Set of errors that are related to requests dealing with Customer.
35   // Next id: 26
36   enum CustomerError {
37     // Enum unspecified.
38     UNSPECIFIED = 0;
39
40     // The received error code is not known in this version.
41     UNKNOWN = 1;
42
43     // Customer status is not allowed to be changed from DRAFT and CLOSED.
44     // Currency code and at least one of country code and time zone needs to be
45     // set when status is changed to ENABLED.
46     STATUS_CHANGE_DISALLOWED = 2;
47
48     // CustomerService cannot get a customer that has not been fully set up.
49     ACCOUNT_NOT_SET_UP = 3;
50   }
51
52
53 }