| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/recommendation_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 errors from applying a recommendation. |
| type RecommendationErrorEnum_RecommendationError int32 |
| |
| const ( |
| // Enum unspecified. |
| RecommendationErrorEnum_UNSPECIFIED RecommendationErrorEnum_RecommendationError = 0 |
| // The received error code is not known in this version. |
| RecommendationErrorEnum_UNKNOWN RecommendationErrorEnum_RecommendationError = 1 |
| // The specified budget amount is too low e.g. lower than minimum currency |
| // unit or lower than ad group minimum cost-per-click. |
| RecommendationErrorEnum_BUDGET_AMOUNT_TOO_SMALL RecommendationErrorEnum_RecommendationError = 2 |
| // The specified budget amount is too large. |
| RecommendationErrorEnum_BUDGET_AMOUNT_TOO_LARGE RecommendationErrorEnum_RecommendationError = 3 |
| // The specified budget amount is not a valid amount. e.g. not a multiple |
| // of minimum currency unit. |
| RecommendationErrorEnum_INVALID_BUDGET_AMOUNT RecommendationErrorEnum_RecommendationError = 4 |
| // The specified keyword or ad violates ad policy. |
| RecommendationErrorEnum_POLICY_ERROR RecommendationErrorEnum_RecommendationError = 5 |
| // The specified bid amount is not valid. e.g. too many fractional digits, |
| // or negative amount. |
| RecommendationErrorEnum_INVALID_BID_AMOUNT RecommendationErrorEnum_RecommendationError = 6 |
| // The number of keywords in ad group have reached the maximum allowed. |
| RecommendationErrorEnum_ADGROUP_KEYWORD_LIMIT RecommendationErrorEnum_RecommendationError = 7 |
| // The recommendation requested to apply has already been applied. |
| RecommendationErrorEnum_RECOMMENDATION_ALREADY_APPLIED RecommendationErrorEnum_RecommendationError = 8 |
| // The recommendation requested to apply has been invalidated. |
| RecommendationErrorEnum_RECOMMENDATION_INVALIDATED RecommendationErrorEnum_RecommendationError = 9 |
| // The number of operations in a single request exceeds the maximum allowed. |
| RecommendationErrorEnum_TOO_MANY_OPERATIONS RecommendationErrorEnum_RecommendationError = 10 |
| // There are no operations in the request. |
| RecommendationErrorEnum_NO_OPERATIONS RecommendationErrorEnum_RecommendationError = 11 |
| // Operations with multiple recommendation types are not supported when |
| // partial failure mode is not enabled. |
| RecommendationErrorEnum_DIFFERENT_TYPES_NOT_SUPPORTED RecommendationErrorEnum_RecommendationError = 12 |
| // Request contains multiple operations with the same resource_name. |
| RecommendationErrorEnum_DUPLICATE_RESOURCE_NAME RecommendationErrorEnum_RecommendationError = 13 |
| // The recommendation requested to dismiss has already been dismissed. |
| RecommendationErrorEnum_RECOMMENDATION_ALREADY_DISMISSED RecommendationErrorEnum_RecommendationError = 14 |
| // The recommendation apply request was malformed and invalid. |
| RecommendationErrorEnum_INVALID_APPLY_REQUEST RecommendationErrorEnum_RecommendationError = 15 |
| ) |
| |
| var RecommendationErrorEnum_RecommendationError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "BUDGET_AMOUNT_TOO_SMALL", |
| 3: "BUDGET_AMOUNT_TOO_LARGE", |
| 4: "INVALID_BUDGET_AMOUNT", |
| 5: "POLICY_ERROR", |
| 6: "INVALID_BID_AMOUNT", |
| 7: "ADGROUP_KEYWORD_LIMIT", |
| 8: "RECOMMENDATION_ALREADY_APPLIED", |
| 9: "RECOMMENDATION_INVALIDATED", |
| 10: "TOO_MANY_OPERATIONS", |
| 11: "NO_OPERATIONS", |
| 12: "DIFFERENT_TYPES_NOT_SUPPORTED", |
| 13: "DUPLICATE_RESOURCE_NAME", |
| 14: "RECOMMENDATION_ALREADY_DISMISSED", |
| 15: "INVALID_APPLY_REQUEST", |
| } |
| |
| var RecommendationErrorEnum_RecommendationError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "BUDGET_AMOUNT_TOO_SMALL": 2, |
| "BUDGET_AMOUNT_TOO_LARGE": 3, |
| "INVALID_BUDGET_AMOUNT": 4, |
| "POLICY_ERROR": 5, |
| "INVALID_BID_AMOUNT": 6, |
| "ADGROUP_KEYWORD_LIMIT": 7, |
| "RECOMMENDATION_ALREADY_APPLIED": 8, |
| "RECOMMENDATION_INVALIDATED": 9, |
| "TOO_MANY_OPERATIONS": 10, |
| "NO_OPERATIONS": 11, |
| "DIFFERENT_TYPES_NOT_SUPPORTED": 12, |
| "DUPLICATE_RESOURCE_NAME": 13, |
| "RECOMMENDATION_ALREADY_DISMISSED": 14, |
| "INVALID_APPLY_REQUEST": 15, |
| } |
| |
| func (x RecommendationErrorEnum_RecommendationError) String() string { |
| return proto.EnumName(RecommendationErrorEnum_RecommendationError_name, int32(x)) |
| } |
| |
| func (RecommendationErrorEnum_RecommendationError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_222bd14d82b9986e, []int{0, 0} |
| } |
| |
| // Container for enum describing possible errors from applying a recommendation. |
| type RecommendationErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *RecommendationErrorEnum) Reset() { *m = RecommendationErrorEnum{} } |
| func (m *RecommendationErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*RecommendationErrorEnum) ProtoMessage() {} |
| func (*RecommendationErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_222bd14d82b9986e, []int{0} |
| } |
| |
| func (m *RecommendationErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_RecommendationErrorEnum.Unmarshal(m, b) |
| } |
| func (m *RecommendationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_RecommendationErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *RecommendationErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_RecommendationErrorEnum.Merge(m, src) |
| } |
| func (m *RecommendationErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_RecommendationErrorEnum.Size(m) |
| } |
| func (m *RecommendationErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_RecommendationErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_RecommendationErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.RecommendationErrorEnum_RecommendationError", RecommendationErrorEnum_RecommendationError_name, RecommendationErrorEnum_RecommendationError_value) |
| proto.RegisterType((*RecommendationErrorEnum)(nil), "google.ads.googleads.v3.errors.RecommendationErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/recommendation_error.proto", fileDescriptor_222bd14d82b9986e) |
| } |
| |
| var fileDescriptor_222bd14d82b9986e = []byte{ |
| // 516 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6e, 0xd3, 0x3e, |
| 0x14, 0xc6, 0xff, 0x6d, 0xff, 0x6c, 0xe0, 0x6e, 0xcc, 0x78, 0x82, 0xc2, 0x80, 0x0a, 0x2a, 0xae, |
| 0x93, 0x8b, 0x5c, 0x11, 0xae, 0xdc, 0xfa, 0xb4, 0xb2, 0x96, 0xd8, 0xc6, 0x49, 0x3a, 0x05, 0x55, |
| 0xb2, 0xca, 0x52, 0x45, 0x95, 0xd6, 0xa4, 0x4a, 0xca, 0x1e, 0x88, 0x4b, 0x1e, 0x82, 0x07, 0xe0, |
| 0x11, 0x78, 0x04, 0x6e, 0x79, 0x01, 0x94, 0x64, 0xad, 0x36, 0xd4, 0x71, 0x95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