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.
 
 
 

179 lines
9.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/recommendation_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 errors from applying a recommendation.
  18. type RecommendationErrorEnum_RecommendationError int32
  19. const (
  20. // Enum unspecified.
  21. RecommendationErrorEnum_UNSPECIFIED RecommendationErrorEnum_RecommendationError = 0
  22. // The received error code is not known in this version.
  23. RecommendationErrorEnum_UNKNOWN RecommendationErrorEnum_RecommendationError = 1
  24. // The specified budget amount is too low e.g. lower than minimum currency
  25. // unit or lower than ad group minimum cost-per-click.
  26. RecommendationErrorEnum_BUDGET_AMOUNT_TOO_SMALL RecommendationErrorEnum_RecommendationError = 2
  27. // The specified budget amount is too large.
  28. RecommendationErrorEnum_BUDGET_AMOUNT_TOO_LARGE RecommendationErrorEnum_RecommendationError = 3
  29. // The specified budget amount is not a valid amount. e.g. not a multiple
  30. // of minimum currency unit.
  31. RecommendationErrorEnum_INVALID_BUDGET_AMOUNT RecommendationErrorEnum_RecommendationError = 4
  32. // The specified keyword or ad violates ad policy.
  33. RecommendationErrorEnum_POLICY_ERROR RecommendationErrorEnum_RecommendationError = 5
  34. // The specified bid amount is not valid. e.g. too many fractional digits,
  35. // or negative amount.
  36. RecommendationErrorEnum_INVALID_BID_AMOUNT RecommendationErrorEnum_RecommendationError = 6
  37. // The number of keywords in ad group have reached the maximum allowed.
  38. RecommendationErrorEnum_ADGROUP_KEYWORD_LIMIT RecommendationErrorEnum_RecommendationError = 7
  39. // The recommendation requested to apply has already been applied.
  40. RecommendationErrorEnum_RECOMMENDATION_ALREADY_APPLIED RecommendationErrorEnum_RecommendationError = 8
  41. // The recommendation requested to apply has been invalidated.
  42. RecommendationErrorEnum_RECOMMENDATION_INVALIDATED RecommendationErrorEnum_RecommendationError = 9
  43. // The number of operations in a single request exceeds the maximum allowed.
  44. RecommendationErrorEnum_TOO_MANY_OPERATIONS RecommendationErrorEnum_RecommendationError = 10
  45. // There are no operations in the request.
  46. RecommendationErrorEnum_NO_OPERATIONS RecommendationErrorEnum_RecommendationError = 11
  47. // Operations with multiple recommendation types are not supported when
  48. // partial failure mode is not enabled.
  49. RecommendationErrorEnum_DIFFERENT_TYPES_NOT_SUPPORTED RecommendationErrorEnum_RecommendationError = 12
  50. // Request contains multiple operations with the same resource_name.
  51. RecommendationErrorEnum_DUPLICATE_RESOURCE_NAME RecommendationErrorEnum_RecommendationError = 13
  52. // The recommendation requested to dismiss has already been dismissed.
  53. RecommendationErrorEnum_RECOMMENDATION_ALREADY_DISMISSED RecommendationErrorEnum_RecommendationError = 14
  54. )
  55. var RecommendationErrorEnum_RecommendationError_name = map[int32]string{
  56. 0: "UNSPECIFIED",
  57. 1: "UNKNOWN",
  58. 2: "BUDGET_AMOUNT_TOO_SMALL",
  59. 3: "BUDGET_AMOUNT_TOO_LARGE",
  60. 4: "INVALID_BUDGET_AMOUNT",
  61. 5: "POLICY_ERROR",
  62. 6: "INVALID_BID_AMOUNT",
  63. 7: "ADGROUP_KEYWORD_LIMIT",
  64. 8: "RECOMMENDATION_ALREADY_APPLIED",
  65. 9: "RECOMMENDATION_INVALIDATED",
  66. 10: "TOO_MANY_OPERATIONS",
  67. 11: "NO_OPERATIONS",
  68. 12: "DIFFERENT_TYPES_NOT_SUPPORTED",
  69. 13: "DUPLICATE_RESOURCE_NAME",
  70. 14: "RECOMMENDATION_ALREADY_DISMISSED",
  71. }
  72. var RecommendationErrorEnum_RecommendationError_value = map[string]int32{
  73. "UNSPECIFIED": 0,
  74. "UNKNOWN": 1,
  75. "BUDGET_AMOUNT_TOO_SMALL": 2,
  76. "BUDGET_AMOUNT_TOO_LARGE": 3,
  77. "INVALID_BUDGET_AMOUNT": 4,
  78. "POLICY_ERROR": 5,
  79. "INVALID_BID_AMOUNT": 6,
  80. "ADGROUP_KEYWORD_LIMIT": 7,
  81. "RECOMMENDATION_ALREADY_APPLIED": 8,
  82. "RECOMMENDATION_INVALIDATED": 9,
  83. "TOO_MANY_OPERATIONS": 10,
  84. "NO_OPERATIONS": 11,
  85. "DIFFERENT_TYPES_NOT_SUPPORTED": 12,
  86. "DUPLICATE_RESOURCE_NAME": 13,
  87. "RECOMMENDATION_ALREADY_DISMISSED": 14,
  88. }
  89. func (x RecommendationErrorEnum_RecommendationError) String() string {
  90. return proto.EnumName(RecommendationErrorEnum_RecommendationError_name, int32(x))
  91. }
  92. func (RecommendationErrorEnum_RecommendationError) EnumDescriptor() ([]byte, []int) {
  93. return fileDescriptor_recommendation_error_bf8c3c97f0057f43, []int{0, 0}
  94. }
  95. // Container for enum describing possible errors from applying a recommendation.
  96. type RecommendationErrorEnum struct {
  97. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  98. XXX_unrecognized []byte `json:"-"`
  99. XXX_sizecache int32 `json:"-"`
  100. }
  101. func (m *RecommendationErrorEnum) Reset() { *m = RecommendationErrorEnum{} }
  102. func (m *RecommendationErrorEnum) String() string { return proto.CompactTextString(m) }
  103. func (*RecommendationErrorEnum) ProtoMessage() {}
  104. func (*RecommendationErrorEnum) Descriptor() ([]byte, []int) {
  105. return fileDescriptor_recommendation_error_bf8c3c97f0057f43, []int{0}
  106. }
  107. func (m *RecommendationErrorEnum) XXX_Unmarshal(b []byte) error {
  108. return xxx_messageInfo_RecommendationErrorEnum.Unmarshal(m, b)
  109. }
  110. func (m *RecommendationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  111. return xxx_messageInfo_RecommendationErrorEnum.Marshal(b, m, deterministic)
  112. }
  113. func (dst *RecommendationErrorEnum) XXX_Merge(src proto.Message) {
  114. xxx_messageInfo_RecommendationErrorEnum.Merge(dst, src)
  115. }
  116. func (m *RecommendationErrorEnum) XXX_Size() int {
  117. return xxx_messageInfo_RecommendationErrorEnum.Size(m)
  118. }
  119. func (m *RecommendationErrorEnum) XXX_DiscardUnknown() {
  120. xxx_messageInfo_RecommendationErrorEnum.DiscardUnknown(m)
  121. }
  122. var xxx_messageInfo_RecommendationErrorEnum proto.InternalMessageInfo
  123. func init() {
  124. proto.RegisterType((*RecommendationErrorEnum)(nil), "google.ads.googleads.v1.errors.RecommendationErrorEnum")
  125. proto.RegisterEnum("google.ads.googleads.v1.errors.RecommendationErrorEnum_RecommendationError", RecommendationErrorEnum_RecommendationError_name, RecommendationErrorEnum_RecommendationError_value)
  126. }
  127. func init() {
  128. proto.RegisterFile("google/ads/googleads/v1/errors/recommendation_error.proto", fileDescriptor_recommendation_error_bf8c3c97f0057f43)
  129. }
  130. var fileDescriptor_recommendation_error_bf8c3c97f0057f43 = []byte{
  131. // 500 bytes of a gzipped FileDescriptorProto
  132. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x30,
  133. 0x14, 0x86, 0x69, 0x0b, 0x1b, 0xb8, 0x1b, 0x18, 0x4f, 0x50, 0x18, 0x50, 0x41, 0xc5, 0x75, 0xa2,
  134. 0x8a, 0x2b, 0xc2, 0x95, 0x5b, 0x9f, 0x56, 0xd6, 0x12, 0xdb, 0x72, 0x92, 0x4e, 0x45, 0x95, 0xac,
  135. 0xb2, 0x54, 0x51, 0xa5, 0x35, 0xae, 0x92, 0xb2, 0x07, 0x82, 0x3b, 0x5e, 0x82, 0x7b, 0x1e, 0x85,
  136. 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
  147. 0x6a, 0xfc, 0x80, 0x3c, 0x47, 0x64, 0x07, 0x73, 0xb6, 0x25, 0x0f, 0x4a, 0x13, 0xca, 0xc6, 0x5a,
  148. 0xc6, 0xca, 0x9c, 0xc1, 0xf4, 0x5c, 0x6a, 0x66, 0x7c, 0x1e, 0xf0, 0x08, 0x1f, 0x92, 0x1e, 0xea,
  149. 0x6a, 0x18, 0xca, 0x20, 0x00, 0xc1, 0x68, 0xc4, 0xa5, 0x30, 0xd4, 0xd7, 0x40, 0xd9, 0xd4, 0x50,
  150. 0xa5, 0xfc, 0x72, 0x95, 0x87, 0xa4, 0x8b, 0x4e, 0xff, 0x63, 0xae, 0x6f, 0xa1, 0x11, 0x30, 0xfc,
  151. 0x88, 0x74, 0xd0, 0x49, 0x39, 0x72, 0x40, 0xc5, 0xd4, 0x48, 0x05, 0xba, 0x62, 0x42, 0x8c, 0xc8,
  152. 0x53, 0x74, 0x2c, 0xe4, 0xbf, 0xad, 0x36, 0x79, 0x87, 0xde, 0x30, 0x3e, 0x1a, 0x81, 0x86, 0x72,
  153. 0xd1, 0xa9, 0x82, 0xd0, 0x08, 0x19, 0x99, 0x30, 0x56, 0x4a, 0xea, 0xd2, 0xee, 0xa8, 0xfc, 0x1f,
  154. 0x2c, 0x56, 0x3e, 0x1f, 0xd2, 0x08, 0x8c, 0x86, 0x50, 0xc6, 0x7a, 0x08, 0x46, 0xd0, 0x00, 0xf0,
  155. 0x31, 0x79, 0x8f, 0xde, 0xde, 0x32, 0x2f, 0xe3, 0x61, 0xc0, 0xc3, 0x10, 0x18, 0x7e, 0x3c, 0xf8,
  156. 0xd3, 0x40, 0xbd, 0x0b, 0xbb, 0x72, 0xee, 0x8e, 0xc1, 0xe0, 0xc5, 0x9e, 0x97, 0x54, 0x65, 0x04,
  157. 0x54, 0xe3, 0x33, 0xbb, 0xd6, 0xa6, 0xf6, 0x72, 0x9e, 0xa5, 0x8e, 0xcd, 0x53, 0x37, 0x5d, 0x64,
  158. 0x55, 0x40, 0xb6, 0x69, 0x5c, 0x2f, 0x8b, 0xdb, 0xc2, 0xf9, 0xa9, 0xfe, 0x7c, 0x6b, 0xb6, 0xc6,
  159. 0x94, 0xfe, 0x68, 0x76, 0xc7, 0xb5, 0x19, 0x4d, 0x0a, 0xa7, 0x2e, 0xcb, 0x6a, 0xd2, 0x77, 0xaa,
  160. 0x2b, 0x8b, 0x5f, 0x5b, 0x60, 0x46, 0x93, 0x62, 0xb6, 0x03, 0x66, 0x93, 0xfe, 0xac, 0x06, 0x7e,
  161. 0x37, 0x7b, 0x75, 0xd7, 0xf3, 0x68, 0x52, 0x78, 0xde, 0x0e, 0xf1, 0xbc, 0x49, 0xdf, 0xf3, 0x6a,
  162. 0xe8, 0xcb, 0x41, 0x35, 0xdd, 0x87, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x0f, 0x94, 0x12,
  163. 0x39, 0x03, 0x00, 0x00,
  164. }