• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.admanager.v1;
18
19option csharp_namespace = "Google.Ads.AdManager.V1";
20option go_package = "google.golang.org/genproto/googleapis/ads/admanager/v1;admanager";
21option java_multiple_files = true;
22option java_outer_classname = "CompanyCreditStatusEnumProto";
23option java_package = "com.google.ads.admanager.v1";
24option objc_class_prefix = "GAA";
25option php_namespace = "Google\\Ads\\AdManager\\V1";
26
27// Wrapper message for
28// [CompanyCreditStatus][google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus]
29message CompanyCreditStatusEnum {
30  // The credit status of a company.
31  //
32  // Credit statuses specify the credit-worthiness of a company and affect the
33  // ad serving of campaigns belonging to the company.
34  //
35  // In basic settings, only the
36  // [ACTIVE][google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus.ACTIVE]
37  // and
38  // [INACTIVE][google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus.INACTIVE]
39  // credit statuses are applicable. In advance settings, all credit statuses
40  // are applicable.
41  enum CompanyCreditStatus {
42    // No value specified
43    COMPANY_CREDIT_STATUS_UNSPECIFIED = 0;
44
45    // The company's credit status is active.
46    //
47    // Line items belonging to the company can serve.
48    //
49    // This credit status is the default for basic settings and is available in
50    // both basic and advance settings.
51    ACTIVE = 1;
52
53    // The company's credit status is inactive.
54    //
55    // Line items belonging to the company cannot be activated. However, line
56    // items that were activated before the credit status changed will remain
57    // active. New orders or line items belonging to the company cannot be
58    // created.
59    //
60    // Companies with this credit status will be hidden by default in company
61    // search results.
62    //
63    // This credit status is available in both basic and advance settings.
64    INACTIVE = 2;
65
66    // The company's credit status is on hold.
67    //
68    // Line items belonging to the company cannot be activated. However, line
69    // items that were activated before the credit status changed will remain
70    // active. New orders or line items belonging to the company can be
71    // created.
72    //
73    // This credit status is the default in advance settings and is only
74    // available in advance settings.
75    ON_HOLD = 3;
76
77    // The company's credit status is stopped.
78    //
79    // Line items belonging to the company cannot be activated. However, line
80    // items that were activated before the credit status changed will remain
81    // active. New orders or line items belonging to the company cannot be
82    // created.
83    //
84    // This credit status is only available in advance settings.
85    STOP = 4;
86
87    // The company's credit status is blocked.
88    //
89    // All active line items belonging to the company will stop serving with
90    // immediate effect. Line items belonging to the company cannot be
91    // activated, and new orders or line items belonging to the company cannot
92    // be created.
93    //
94    // This credit status is only available in advance settings.
95    BLOCKED = 5;
96  }
97}
98