/
user_list_error.pb.go
254 lines (236 loc) · 14 KB
/
user_list_error.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/errors/user_list_error.proto
package errors
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Enum describing possible user list errors.
type UserListErrorEnum_UserListError int32
const (
// Enum unspecified.
UserListErrorEnum_UNSPECIFIED UserListErrorEnum_UserListError = 0
// The received error code is not known in this version.
UserListErrorEnum_UNKNOWN UserListErrorEnum_UserListError = 1
// Creating and updating external remarketing user lists is not supported.
UserListErrorEnum_EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED UserListErrorEnum_UserListError = 2
// Concrete type of user list is required.
UserListErrorEnum_CONCRETE_TYPE_REQUIRED UserListErrorEnum_UserListError = 3
// Creating/updating user list conversion types requires specifying the
// conversion type Id.
UserListErrorEnum_CONVERSION_TYPE_ID_REQUIRED UserListErrorEnum_UserListError = 4
// Remarketing user list cannot have duplicate conversion types.
UserListErrorEnum_DUPLICATE_CONVERSION_TYPES UserListErrorEnum_UserListError = 5
// Conversion type is invalid/unknown.
UserListErrorEnum_INVALID_CONVERSION_TYPE UserListErrorEnum_UserListError = 6
// User list description is empty or invalid.
UserListErrorEnum_INVALID_DESCRIPTION UserListErrorEnum_UserListError = 7
// User list name is empty or invalid.
UserListErrorEnum_INVALID_NAME UserListErrorEnum_UserListError = 8
// Type of the UserList does not match.
UserListErrorEnum_INVALID_TYPE UserListErrorEnum_UserListError = 9
// Embedded logical user lists are not allowed.
UserListErrorEnum_CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND UserListErrorEnum_UserListError = 10
// User list rule operand is invalid.
UserListErrorEnum_INVALID_USER_LIST_LOGICAL_RULE_OPERAND UserListErrorEnum_UserListError = 11
// Name is already being used for another user list for the account.
UserListErrorEnum_NAME_ALREADY_USED UserListErrorEnum_UserListError = 12
// Name is required when creating a new conversion type.
UserListErrorEnum_NEW_CONVERSION_TYPE_NAME_REQUIRED UserListErrorEnum_UserListError = 13
// The given conversion type name has been used.
UserListErrorEnum_CONVERSION_TYPE_NAME_ALREADY_USED UserListErrorEnum_UserListError = 14
// Only an owner account may edit a user list.
UserListErrorEnum_OWNERSHIP_REQUIRED_FOR_SET UserListErrorEnum_UserListError = 15
// Creating user list without setting type in oneof user_list field, or
// creating/updating read-only user list types is not allowed.
UserListErrorEnum_USER_LIST_MUTATE_NOT_SUPPORTED UserListErrorEnum_UserListError = 16
// Rule is invalid.
UserListErrorEnum_INVALID_RULE UserListErrorEnum_UserListError = 17
// The specified date range is empty.
UserListErrorEnum_INVALID_DATE_RANGE UserListErrorEnum_UserListError = 27
// A UserList which is privacy sensitive or legal rejected cannot be mutated
// by external users.
UserListErrorEnum_CAN_NOT_MUTATE_SENSITIVE_USERLIST UserListErrorEnum_UserListError = 28
// Maximum number of rulebased user lists a customer can have.
UserListErrorEnum_MAX_NUM_RULEBASED_USERLISTS UserListErrorEnum_UserListError = 29
// BasicUserList's billable record field cannot be modified once it is set.
UserListErrorEnum_CANNOT_MODIFY_BILLABLE_RECORD_COUNT UserListErrorEnum_UserListError = 30
// crm_based_user_list.app_id field must be set when upload_key_type is
// MOBILE_ADVERTISING_ID.
UserListErrorEnum_APP_ID_NOT_SET UserListErrorEnum_UserListError = 31
// Name of the user list is reserved for system generated lists and cannot
// be used.
UserListErrorEnum_USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST UserListErrorEnum_UserListError = 32
// Advertiser needs to be whitelisted to use remarketing lists created from
// advertiser uploaded data (e.g., Customer Match lists).
UserListErrorEnum_ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA UserListErrorEnum_UserListError = 33
// The provided rule_type is not supported for the user list.
UserListErrorEnum_RULE_TYPE_IS_NOT_SUPPORTED UserListErrorEnum_UserListError = 34
// Similar user list cannot be used as a logical user list operand.
UserListErrorEnum_CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND UserListErrorEnum_UserListError = 35
// Logical user list should not have a mix of CRM based user list and other
// types of lists in its rules.
UserListErrorEnum_CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS UserListErrorEnum_UserListError = 36
)
var UserListErrorEnum_UserListError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED",
3: "CONCRETE_TYPE_REQUIRED",
4: "CONVERSION_TYPE_ID_REQUIRED",
5: "DUPLICATE_CONVERSION_TYPES",
6: "INVALID_CONVERSION_TYPE",
7: "INVALID_DESCRIPTION",
8: "INVALID_NAME",
9: "INVALID_TYPE",
10: "CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND",
11: "INVALID_USER_LIST_LOGICAL_RULE_OPERAND",
12: "NAME_ALREADY_USED",
13: "NEW_CONVERSION_TYPE_NAME_REQUIRED",
14: "CONVERSION_TYPE_NAME_ALREADY_USED",
15: "OWNERSHIP_REQUIRED_FOR_SET",
16: "USER_LIST_MUTATE_NOT_SUPPORTED",
17: "INVALID_RULE",
27: "INVALID_DATE_RANGE",
28: "CAN_NOT_MUTATE_SENSITIVE_USERLIST",
29: "MAX_NUM_RULEBASED_USERLISTS",
30: "CANNOT_MODIFY_BILLABLE_RECORD_COUNT",
31: "APP_ID_NOT_SET",
32: "USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST",
33: "ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA",
34: "RULE_TYPE_IS_NOT_SUPPORTED",
35: "CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND",
36: "CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS",
}
var UserListErrorEnum_UserListError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED": 2,
"CONCRETE_TYPE_REQUIRED": 3,
"CONVERSION_TYPE_ID_REQUIRED": 4,
"DUPLICATE_CONVERSION_TYPES": 5,
"INVALID_CONVERSION_TYPE": 6,
"INVALID_DESCRIPTION": 7,
"INVALID_NAME": 8,
"INVALID_TYPE": 9,
"CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND": 10,
"INVALID_USER_LIST_LOGICAL_RULE_OPERAND": 11,
"NAME_ALREADY_USED": 12,
"NEW_CONVERSION_TYPE_NAME_REQUIRED": 13,
"CONVERSION_TYPE_NAME_ALREADY_USED": 14,
"OWNERSHIP_REQUIRED_FOR_SET": 15,
"USER_LIST_MUTATE_NOT_SUPPORTED": 16,
"INVALID_RULE": 17,
"INVALID_DATE_RANGE": 27,
"CAN_NOT_MUTATE_SENSITIVE_USERLIST": 28,
"MAX_NUM_RULEBASED_USERLISTS": 29,
"CANNOT_MODIFY_BILLABLE_RECORD_COUNT": 30,
"APP_ID_NOT_SET": 31,
"USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST": 32,
"ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA": 33,
"RULE_TYPE_IS_NOT_SUPPORTED": 34,
"CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND": 35,
"CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS": 36,
}
func (x UserListErrorEnum_UserListError) String() string {
return proto.EnumName(UserListErrorEnum_UserListError_name, int32(x))
}
func (UserListErrorEnum_UserListError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_1363021a483afac2, []int{0, 0}
}
// Container for enum describing possible user list errors.
type UserListErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UserListErrorEnum) Reset() { *m = UserListErrorEnum{} }
func (m *UserListErrorEnum) String() string { return proto.CompactTextString(m) }
func (*UserListErrorEnum) ProtoMessage() {}
func (*UserListErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_1363021a483afac2, []int{0}
}
func (m *UserListErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserListErrorEnum.Unmarshal(m, b)
}
func (m *UserListErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserListErrorEnum.Marshal(b, m, deterministic)
}
func (m *UserListErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserListErrorEnum.Merge(m, src)
}
func (m *UserListErrorEnum) XXX_Size() int {
return xxx_messageInfo_UserListErrorEnum.Size(m)
}
func (m *UserListErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_UserListErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_UserListErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v2.errors.UserListErrorEnum_UserListError", UserListErrorEnum_UserListError_name, UserListErrorEnum_UserListError_value)
proto.RegisterType((*UserListErrorEnum)(nil), "google.ads.googleads.v2.errors.UserListErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v2/errors/user_list_error.proto", fileDescriptor_1363021a483afac2)
}
var fileDescriptor_1363021a483afac2 = []byte{
// 741 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x54, 0xed, 0x6e, 0x23, 0x35,
0x14, 0xa5, 0x59, 0xd8, 0x80, 0xbb, 0x1f, 0xae, 0x11, 0xbb, 0x52, 0xbb, 0x64, 0xd9, 0x2c, 0x1f,
0x02, 0x89, 0x09, 0xca, 0x56, 0x45, 0x1a, 0x7e, 0x39, 0xe3, 0xdb, 0xc4, 0xea, 0x8c, 0x67, 0xb0,
0x3d, 0x93, 0x06, 0x45, 0xb2, 0x02, 0x89, 0xa2, 0x48, 0x6d, 0xa6, 0xca, 0xa4, 0x7d, 0x20, 0x7e,
0xf2, 0x28, 0x3c, 0x00, 0x0f, 0x81, 0xe0, 0x1d, 0x90, 0x3d, 0x99, 0x69, 0x12, 0x51, 0xf8, 0x15,
0xc7, 0xf7, 0x9c, 0xe3, 0x7b, 0xcf, 0xbd, 0x73, 0xd1, 0xe9, 0x3c, 0xcf, 0xe7, 0x57, 0xb3, 0xce,
0x64, 0x5a, 0x74, 0xca, 0xa3, 0x3d, 0xdd, 0x75, 0x3b, 0xb3, 0xd5, 0x2a, 0x5f, 0x15, 0x9d, 0xdb,
0x62, 0xb6, 0x32, 0x57, 0x8b, 0x62, 0x6d, 0xdc, 0x85, 0x77, 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