1 // Copyright 2019 Google LLC.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 package google.ads.googleads.v1.errors;
20 import "google/api/annotations.proto";
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.
32 // Container for enum describing possible user list errors.
33 message UserListErrorEnum {
34 // Enum describing possible user list errors.
39 // The received error code is not known in this version.
42 // Creating and updating external remarketing user lists is not supported.
43 EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2;
45 // Concrete type of user list is required.
46 CONCRETE_TYPE_REQUIRED = 3;
48 // Creating/updating user list conversion types requires specifying the
49 // conversion type Id.
50 CONVERSION_TYPE_ID_REQUIRED = 4;
52 // Remarketing user list cannot have duplicate conversion types.
53 DUPLICATE_CONVERSION_TYPES = 5;
55 // Conversion type is invalid/unknown.
56 INVALID_CONVERSION_TYPE = 6;
58 // User list description is empty or invalid.
59 INVALID_DESCRIPTION = 7;
61 // User list name is empty or invalid.
64 // Type of the UserList does not match.
67 // Embedded logical user lists are not allowed.
68 CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10;
70 // User list rule operand is invalid.
71 INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11;
73 // Name is already being used for another user list for the account.
74 NAME_ALREADY_USED = 12;
76 // Name is required when creating a new conversion type.
77 NEW_CONVERSION_TYPE_NAME_REQUIRED = 13;
79 // The given conversion type name has been used.
80 CONVERSION_TYPE_NAME_ALREADY_USED = 14;
82 // Only an owner account may edit a user list.
83 OWNERSHIP_REQUIRED_FOR_SET = 15;
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;
92 // The specified date range is empty.
93 INVALID_DATE_RANGE = 27;
95 // A UserList which is privacy sensitive or legal rejected cannot be mutated
97 CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28;
99 // Maximum number of rulebased user lists a customer can have.
100 MAX_NUM_RULEBASED_USERLISTS = 29;
102 // BasicUserList's billable record field cannot be modified once it is set.
103 CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30;
105 // crm_based_user_list.app_id field must be set when upload_key_type is
106 // MOBILE_ADVERTISING_ID.
109 // Name of the user list is reserved for system generated lists and cannot
111 USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32;
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;
117 // The provided rule_type is not supported for the user list.
118 RULE_TYPE_IS_NOT_SUPPORTED = 34;
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;
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;