You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

193 lines
11 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/errors/feed_mapping_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Enum describing possible feed item errors.
  17. type FeedMappingErrorEnum_FeedMappingError int32
  18. const (
  19. // Enum unspecified.
  20. FeedMappingErrorEnum_UNSPECIFIED FeedMappingErrorEnum_FeedMappingError = 0
  21. // The received error code is not known in this version.
  22. FeedMappingErrorEnum_UNKNOWN FeedMappingErrorEnum_FeedMappingError = 1
  23. // The given placeholder field does not exist.
  24. FeedMappingErrorEnum_INVALID_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 2
  25. // The given criterion field does not exist.
  26. FeedMappingErrorEnum_INVALID_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 3
  27. // The given placeholder type does not exist.
  28. FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 4
  29. // The given criterion type does not exist.
  30. FeedMappingErrorEnum_INVALID_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 5
  31. // A feed mapping must contain at least one attribute field mapping.
  32. FeedMappingErrorEnum_NO_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 7
  33. // The type of the feed attribute referenced in the attribute field mapping
  34. // must match the type of the placeholder field.
  35. FeedMappingErrorEnum_FEED_ATTRIBUTE_TYPE_MISMATCH FeedMappingErrorEnum_FeedMappingError = 8
  36. // A feed mapping for a system generated feed cannot be operated on.
  37. FeedMappingErrorEnum_CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 9
  38. // Only one feed mapping for a placeholder type is allowed per feed or
  39. // customer (depending on the placeholder type).
  40. FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE FeedMappingErrorEnum_FeedMappingError = 10
  41. // Only one feed mapping for a criterion type is allowed per customer.
  42. FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE FeedMappingErrorEnum_FeedMappingError = 11
  43. // Only one feed attribute mapping for a placeholder field is allowed
  44. // (depending on the placeholder type).
  45. FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD FeedMappingErrorEnum_FeedMappingError = 12
  46. // Only one feed attribute mapping for a criterion field is allowed
  47. // (depending on the criterion type).
  48. FeedMappingErrorEnum_MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD FeedMappingErrorEnum_FeedMappingError = 13
  49. // This feed mapping may not contain any explicit attribute field mappings.
  50. FeedMappingErrorEnum_UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS FeedMappingErrorEnum_FeedMappingError = 14
  51. // Location placeholder feed mappings can only be created for Places feeds.
  52. FeedMappingErrorEnum_LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS FeedMappingErrorEnum_FeedMappingError = 15
  53. // Mappings for typed feeds cannot be modified.
  54. FeedMappingErrorEnum_CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED FeedMappingErrorEnum_FeedMappingError = 16
  55. // The given placeholder type can only be mapped to system generated feeds.
  56. FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED FeedMappingErrorEnum_FeedMappingError = 17
  57. // The given placeholder type cannot be mapped to a system generated feed
  58. // with the given type.
  59. FeedMappingErrorEnum_INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE FeedMappingErrorEnum_FeedMappingError = 18
  60. )
  61. var FeedMappingErrorEnum_FeedMappingError_name = map[int32]string{
  62. 0: "UNSPECIFIED",
  63. 1: "UNKNOWN",
  64. 2: "INVALID_PLACEHOLDER_FIELD",
  65. 3: "INVALID_CRITERION_FIELD",
  66. 4: "INVALID_PLACEHOLDER_TYPE",
  67. 5: "INVALID_CRITERION_TYPE",
  68. 7: "NO_ATTRIBUTE_FIELD_MAPPINGS",
  69. 8: "FEED_ATTRIBUTE_TYPE_MISMATCH",
  70. 9: "CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED",
  71. 10: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE",
  72. 11: "MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE",
  73. 12: "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD",
  74. 13: "MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD",
  75. 14: "UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS",
  76. 15: "LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS",
  77. 16: "CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED",
  78. 17: "INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED",
  79. 18: "INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE",
  80. }
  81. var FeedMappingErrorEnum_FeedMappingError_value = map[string]int32{
  82. "UNSPECIFIED": 0,
  83. "UNKNOWN": 1,
  84. "INVALID_PLACEHOLDER_FIELD": 2,
  85. "INVALID_CRITERION_FIELD": 3,
  86. "INVALID_PLACEHOLDER_TYPE": 4,
  87. "INVALID_CRITERION_TYPE": 5,
  88. "NO_ATTRIBUTE_FIELD_MAPPINGS": 7,
  89. "FEED_ATTRIBUTE_TYPE_MISMATCH": 8,
  90. "CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED": 9,
  91. "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE": 10,
  92. "MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE": 11,
  93. "MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD": 12,
  94. "MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD": 13,
  95. "UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS": 14,
  96. "LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS": 15,
  97. "CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED": 16,
  98. "INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED": 17,
  99. "INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE": 18,
  100. }
  101. func (x FeedMappingErrorEnum_FeedMappingError) String() string {
  102. return proto.EnumName(FeedMappingErrorEnum_FeedMappingError_name, int32(x))
  103. }
  104. func (FeedMappingErrorEnum_FeedMappingError) EnumDescriptor() ([]byte, []int) {
  105. return fileDescriptor_feed_mapping_error_05e4b3c477cdcd72, []int{0, 0}
  106. }
  107. // Container for enum describing possible feed item errors.
  108. type FeedMappingErrorEnum struct {
  109. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  110. XXX_unrecognized []byte `json:"-"`
  111. XXX_sizecache int32 `json:"-"`
  112. }
  113. func (m *FeedMappingErrorEnum) Reset() { *m = FeedMappingErrorEnum{} }
  114. func (m *FeedMappingErrorEnum) String() string { return proto.CompactTextString(m) }
  115. func (*FeedMappingErrorEnum) ProtoMessage() {}
  116. func (*FeedMappingErrorEnum) Descriptor() ([]byte, []int) {
  117. return fileDescriptor_feed_mapping_error_05e4b3c477cdcd72, []int{0}
  118. }
  119. func (m *FeedMappingErrorEnum) XXX_Unmarshal(b []byte) error {
  120. return xxx_messageInfo_FeedMappingErrorEnum.Unmarshal(m, b)
  121. }
  122. func (m *FeedMappingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  123. return xxx_messageInfo_FeedMappingErrorEnum.Marshal(b, m, deterministic)
  124. }
  125. func (dst *FeedMappingErrorEnum) XXX_Merge(src proto.Message) {
  126. xxx_messageInfo_FeedMappingErrorEnum.Merge(dst, src)
  127. }
  128. func (m *FeedMappingErrorEnum) XXX_Size() int {
  129. return xxx_messageInfo_FeedMappingErrorEnum.Size(m)
  130. }
  131. func (m *FeedMappingErrorEnum) XXX_DiscardUnknown() {
  132. xxx_messageInfo_FeedMappingErrorEnum.DiscardUnknown(m)
  133. }
  134. var xxx_messageInfo_FeedMappingErrorEnum proto.InternalMessageInfo
  135. func init() {
  136. proto.RegisterType((*FeedMappingErrorEnum)(nil), "google.ads.googleads.v0.errors.FeedMappingErrorEnum")
  137. proto.RegisterEnum("google.ads.googleads.v0.errors.FeedMappingErrorEnum_FeedMappingError", FeedMappingErrorEnum_FeedMappingError_name, FeedMappingErrorEnum_FeedMappingError_value)
  138. }
  139. func init() {
  140. proto.RegisterFile("google/ads/googleads/v0/errors/feed_mapping_error.proto", fileDescriptor_feed_mapping_error_05e4b3c477cdcd72)
  141. }
  142. var fileDescriptor_feed_mapping_error_05e4b3c477cdcd72 = []byte{
  143. // 538 bytes of a gzipped FileDescriptorProto
  144. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xdf, 0x6e, 0xd3, 0x30,
  145. 0x14, 0xc6, 0x69, 0x47, 0x19, 0x9c, 0x02, 0x0b, 0x16, 0xff, 0x37, 0x06, 0x2a, 0x7f, 0x06, 0x43,
  146. 0x4a, 0x2b, 0x81, 0x18, 0xca, 0xae, 0xdc, 0xc4, 0xe9, 0x2c, 0x12, 0xdb, 0x4a, 0xdc, 0x42, 0x51,
  147. 0x25, 0xab, 0x90, 0x10, 0x4d, 0x5a, 0x9b, 0xaa, 0x81, 0x3d, 0x10, 0x97, 0x3c, 0x0a, 0x17, 0xbc,
  148. 0x06, 0x12, 0x57, 0x3c, 0x02, 0x4a, 0xdc, 0x96, 0xb5, 0x6b, 0xb7, 0xab, 0x1e, 0xf9, 0x7c, 0xbf,
  149. 0xcf, 0xc7, 0x5f, 0x73, 0x60, 0x2f, 0x49, 0xd3, 0xe4, 0x28, 0xae, 0xf7, 0xa3, 0xac, 0xae, 0xcb,
  150. 0xbc, 0x3a, 0x6e, 0xd4, 0xe3, 0xf1, 0x38, 0x1d, 0x67, 0xf5, 0x2f, 0x71, 0x1c, 0xa9, 0x41, 0x7f,
  151. 0x34, 0x3a, 0x1c, 0x26, 0xaa, 0x38, 0x33, 0x47, 0xe3, 0xf4, 0x6b, 0x8a, 0xb6, 0xb5, 0xda, 0xec,
  152. 0x47, 0x99, 0x39, 0x03, 0xcd, 0xe3, 0x86, 0xa9, 0xc1, 0xda, 0xef, 0x0a, 0xdc, 0x74, 0xe3, 0x38,
  153. 0xf2, 0x35, 0x4b, 0xf2, 0x53, 0x32, 0xfc, 0x36, 0xa8, 0xfd, 0xaa, 0x80, 0xb1, 0xd8, 0x40, 0x1b,
  154. 0x50, 0x6d, 0xb3, 0x50, 0x10, 0x9b, 0xba, 0x94, 0x38, 0xc6, 0x05, 0x54, 0x85, 0xf5, 0x36, 0x7b,
  155. 0xc7, 0xf8, 0x7b, 0x66, 0x94, 0xd0, 0x03, 0xb8, 0x47, 0x59, 0x07, 0x7b, 0xd4, 0x51, 0xc2, 0xc3,
  156. 0x36, 0x39, 0xe0, 0x9e, 0x43, 0x02, 0xe5, 0x52, 0xe2, 0x39, 0x46, 0x19, 0x6d, 0xc2, 0x9d, 0x69,
  157. 0xdb, 0x0e, 0xa8, 0x24, 0x01, 0xe5, 0x6c, 0xd2, 0x5c, 0x43, 0x5b, 0x70, 0x77, 0x19, 0x2b, 0xbb,
  158. 0x82, 0x18, 0x17, 0xd1, 0x7d, 0xb8, 0x7d, 0x1a, 0x2d, 0x7a, 0x15, 0xf4, 0x10, 0x36, 0x19, 0x57,
  159. 0x58, 0xca, 0x80, 0x36, 0xdb, 0x92, 0x68, 0x47, 0xe5, 0x63, 0x21, 0x28, 0x6b, 0x85, 0xc6, 0x3a,
  160. 0x7a, 0x04, 0x5b, 0x2e, 0x21, 0xce, 0x09, 0x49, 0x4e, 0x2a, 0x9f, 0x86, 0x3e, 0x96, 0xf6, 0x81,
  161. 0x71, 0x19, 0xbd, 0x85, 0xd7, 0x36, 0x66, 0x8c, 0x4b, 0xc5, 0x05, 0x09, 0xb0, 0x24, 0x8a, 0xb3,
  162. 0x99, 0x83, 0x72, 0x79, 0xa0, 0xc2, 0x6e, 0x28, 0x89, 0xaf, 0x5a, 0x84, 0x15, 0x7d, 0x47, 0xe5,
  163. 0x8e, 0xc6, 0x15, 0xb4, 0x0b, 0xcf, 0xfc, 0xb6, 0x27, 0xa9, 0xf0, 0xc8, 0x3c, 0x70, 0xea, 0x11,
  164. 0x80, 0x9e, 0xc3, 0x93, 0xe5, 0xda, 0x85, 0x27, 0x55, 0xd1, 0x4b, 0xd8, 0x39, 0xdf, 0x55, 0x27,
  165. 0x77, 0x15, 0xbd, 0x80, 0xa7, 0xe7, 0xd9, 0x6a, 0xe9, 0x35, 0xb4, 0x03, 0x8f, 0xdb, 0x8c, 0x7c,
  166. 0x10, 0xc4, 0x96, 0x73, 0x79, 0x2c, 0x44, 0x76, 0x1d, 0x99, 0xb0, 0xeb, 0x71, 0x1b, 0xcb, 0x1c,
  167. 0x3e, 0x79, 0x27, 0x67, 0x5e, 0xf7, 0xff, 0x20, 0x61, 0x91, 0x42, 0x68, 0x6c, 0xe4, 0x33, 0x4c,
  168. 0x02, 0xf4, 0xb9, 0x43, 0xdd, 0xee, 0xfc, 0x20, 0xf9, 0xab, 0x26, 0x89, 0x19, 0xc8, 0x82, 0x37,
  169. 0xab, 0xfe, 0xe8, 0x42, 0xcc, 0x38, 0x5b, 0x91, 0xf6, 0x0d, 0xb4, 0x0f, 0x7b, 0x67, 0xb2, 0x4b,
  170. 0x39, 0x1d, 0x2a, 0x6a, 0xfe, 0x2d, 0x41, 0xed, 0x73, 0x3a, 0x30, 0xcf, 0x5e, 0x88, 0xe6, 0xad,
  171. 0xc5, 0x8f, 0x5e, 0xe4, 0x7b, 0x24, 0x4a, 0x1f, 0x9d, 0x09, 0x98, 0xa4, 0x47, 0xfd, 0x61, 0x62,
  172. 0xa6, 0xe3, 0xa4, 0x9e, 0xc4, 0xc3, 0x62, 0xcb, 0xa6, 0x2b, 0x39, 0x3a, 0xcc, 0x56, 0x6d, 0xe8,
  173. 0xbe, 0xfe, 0xf9, 0x5e, 0x5e, 0x6b, 0x61, 0xfc, 0xa3, 0xbc, 0xdd, 0xd2, 0x66, 0x38, 0xca, 0x4c,
  174. 0x5d, 0xe6, 0x55, 0xa7, 0x61, 0x16, 0x57, 0x66, 0x3f, 0xa7, 0x82, 0x1e, 0x8e, 0xb2, 0xde, 0x4c,
  175. 0xd0, 0xeb, 0x34, 0x7a, 0x5a, 0xf0, 0xa7, 0x5c, 0xd3, 0xa7, 0x96, 0x85, 0xa3, 0xcc, 0xb2, 0x66,
  176. 0x12, 0xcb, 0xea, 0x34, 0x2c, 0x4b, 0x8b, 0x3e, 0x5d, 0x2a, 0xa6, 0x7b, 0xf5, 0x2f, 0x00, 0x00,
  177. 0xff, 0xff, 0x2a, 0x93, 0xb4, 0xdd, 0x3e, 0x04, 0x00, 0x00,
  178. }