xref: /aosp_15_r20/external/googleapis/google/ads/searchads360/v0/enums/customer_status.proto (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
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.searchads360.v0.enums;
18
19option csharp_namespace = "Google.Ads.SearchAds360.V0.Enums";
20option go_package = "google.golang.org/genproto/googleapis/ads/searchads360/v0/enums;enums";
21option java_multiple_files = true;
22option java_outer_classname = "CustomerStatusProto";
23option java_package = "com.google.ads.searchads360.v0.enums";
24option objc_class_prefix = "GASA360";
25option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Enums";
26option ruby_package = "Google::Ads::SearchAds360::V0::Enums";
27
28// Container for enum describing possible statuses of a customer.
29message CustomerStatusEnum {
30  // Possible statuses of a customer.
31  enum CustomerStatus {
32    // Not specified.
33    UNSPECIFIED = 0;
34
35    // Used for return value only. Represents value unknown in this version.
36    UNKNOWN = 1;
37
38    // Indicates an active account able to serve ads.
39    ENABLED = 2;
40
41    // Indicates a canceled account unable to serve ads.
42    // Can be reactivated by an admin user.
43    CANCELED = 3;
44
45    // Indicates a suspended account unable to serve ads.
46    // May only be activated by Google support.
47    SUSPENDED = 4;
48
49    // Indicates a closed account unable to serve ads.
50    // Test account will also have CLOSED status.
51    // Status is permanent and may not be reopened.
52    CLOSED = 5;
53  }
54}
55