Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / ads / googleads / v1 / errors / user_list_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 = "UserListErrorProto";
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 // Proto file describing user list errors.
31
32 // Container for enum describing possible user list errors.
33 message UserListErrorEnum {
34   // Enum describing possible user list errors.
35   enum UserListError {
36     // Enum unspecified.
37     UNSPECIFIED = 0;
38
39     // The received error code is not known in this version.
40     UNKNOWN = 1;
41
42     // Creating and updating external remarketing user lists is not supported.
43     EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;
44
45     // Concrete type of user list is required.
46     CONCRETE_TYPE_REQUIRED = 3;
47
48     // Creating/updating user list conversion types requires specifying the
49     // conversion type Id.
50     CONVERSION_TYPE_ID_REQUIRED = 4;
51
52     // Remarketing user list cannot have duplicate conversion types.
53     DUPLICATE_CONVERSION_TYPES = 5;
54
55     // Conversion type is invalid/unknown.
56     INVALID_CONVERSION_TYPE = 6;
57
58     // User list description is empty or invalid.
59     INVALID_DESCRIPTION = 7;
60
61     // User list name is empty or invalid.
62     INVALID_NAME = 8;
63
64     // Type of the UserList does not match.
65     INVALID_TYPE = 9;
66
67     // Embedded logical user lists are not allowed.
68     CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;
69
70     // User list rule operand is invalid.
71     INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;
72
73     // Name is already being used for another user list for the account.
74     NAME_ALREADY_USED = 12;
75
76     // Name is required when creating a new conversion type.
77     NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;
78
79     // The given conversion type name has been used.
80     CONVERSION_TYPE_NAME_ALREADY_USED = 14;
81
82     // Only an owner account may edit a user list.
83     OWNERSHIP_REQUIRED_FOR_SET = 15;
84
85     // Creating user list without setting type in oneof user_list field, or
86     // creating/updating read-only user list types is not allowed.
87     USER_LIST_MUTATE_NOT_SUPPORTED = 16;
88
89     // Rule is invalid.
90     INVALID_RULE = 17;
91
92     // The specified date range is empty.
93     INVALID_DATE_RANGE = 27;
94
95     // A UserList which is privacy sensitive or legal rejected cannot be mutated
96     // by external users.
97     CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;
98
99     // Maximum number of rulebased user lists a customer can have.
100     MAX_NUM_RULEBASED_USERLISTS = 29;
101
102     // BasicUserList's billable record field cannot be modified once it is set.
103     CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;
104
105     // crm_based_user_list.app_id field must be set when upload_key_type is
106     // MOBILE_ADVERTISING_ID.
107     APP_ID_NOT_SET = 31;
108
109     // Name of the user list is reserved for system generated lists and cannot
110     // be used.
111     USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;
112
113     // Advertiser needs to be whitelisted to use remarketing lists created from
114     // advertiser uploaded data (e.g., Customer Match lists).
115     ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA = 33;
116
117     // The provided rule_type is not supported for the user list.
118     RULE_TYPE_IS_NOT_SUPPORTED = 34;
119
120     // Similar user list cannot be used as a logical user list operand.
121     CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35;
122
123     // Logical user list should not have a mix of CRM based user list and other
124     // types of lists in its rules.
125     CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36;
126   }
127
128
129 }