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.
 
 
 

195 lines
11 KiB

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