// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/errors/campaign_criterion_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 campaign criterion errors.
type CampaignCriterionErrorEnum_CampaignCriterionError int32

const (
	// Enum unspecified.
	CampaignCriterionErrorEnum_UNSPECIFIED CampaignCriterionErrorEnum_CampaignCriterionError = 0
	// The received error code is not known in this version.
	CampaignCriterionErrorEnum_UNKNOWN CampaignCriterionErrorEnum_CampaignCriterionError = 1
	// Concrete type of criterion (keyword v.s. placement) is required for
	// CREATE and UPDATE operations.
	CampaignCriterionErrorEnum_CONCRETE_TYPE_REQUIRED CampaignCriterionErrorEnum_CampaignCriterionError = 2
	// Invalid placement URL.
	CampaignCriterionErrorEnum_INVALID_PLACEMENT_URL CampaignCriterionErrorEnum_CampaignCriterionError = 3
	// Criteria type can not be excluded for the campaign by the customer. like
	// AOL account type cannot target site type criteria
	CampaignCriterionErrorEnum_CANNOT_EXCLUDE_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 4
	// Cannot set the campaign criterion status for this criteria type.
	CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 5
	// Cannot set the campaign criterion status for an excluded criteria.
	CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA CampaignCriterionErrorEnum_CampaignCriterionError = 6
	// Cannot target and exclude the same criterion.
	CampaignCriterionErrorEnum_CANNOT_TARGET_AND_EXCLUDE CampaignCriterionErrorEnum_CampaignCriterionError = 7
	// The mutate contained too many operations.
	CampaignCriterionErrorEnum_TOO_MANY_OPERATIONS CampaignCriterionErrorEnum_CampaignCriterionError = 8
	// This operator cannot be applied to a criterion of this type.
	CampaignCriterionErrorEnum_OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 9
	// The Shopping campaign sales country is not supported for
	// ProductSalesChannel targeting.
	CampaignCriterionErrorEnum_SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL CampaignCriterionErrorEnum_CampaignCriterionError = 10
	// The existing field can't be updated with CREATE operation. It can be
	// updated with UPDATE operation only.
	CampaignCriterionErrorEnum_CANNOT_ADD_EXISTING_FIELD CampaignCriterionErrorEnum_CampaignCriterionError = 11
	// Negative criteria are immutable, so updates are not allowed.
	CampaignCriterionErrorEnum_CANNOT_UPDATE_NEGATIVE_CRITERION CampaignCriterionErrorEnum_CampaignCriterionError = 12
)

var CampaignCriterionErrorEnum_CampaignCriterionError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "CONCRETE_TYPE_REQUIRED",
	3:  "INVALID_PLACEMENT_URL",
	4:  "CANNOT_EXCLUDE_CRITERIA_TYPE",
	5:  "CANNOT_SET_STATUS_FOR_CRITERIA_TYPE",
	6:  "CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA",
	7:  "CANNOT_TARGET_AND_EXCLUDE",
	8:  "TOO_MANY_OPERATIONS",
	9:  "OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE",
	10: "SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL",
	11: "CANNOT_ADD_EXISTING_FIELD",
	12: "CANNOT_UPDATE_NEGATIVE_CRITERION",
}

var CampaignCriterionErrorEnum_CampaignCriterionError_value = map[string]int32{
	"UNSPECIFIED":                               0,
	"UNKNOWN":                                   1,
	"CONCRETE_TYPE_REQUIRED":                    2,
	"INVALID_PLACEMENT_URL":                     3,
	"CANNOT_EXCLUDE_CRITERIA_TYPE":              4,
	"CANNOT_SET_STATUS_FOR_CRITERIA_TYPE":       5,
	"CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA":   6,
	"CANNOT_TARGET_AND_EXCLUDE":                 7,
	"TOO_MANY_OPERATIONS":                       8,
	"OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE": 9,
	"SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL": 10,
	"CANNOT_ADD_EXISTING_FIELD":                                       11,
	"CANNOT_UPDATE_NEGATIVE_CRITERION":                                12,
}

func (x CampaignCriterionErrorEnum_CampaignCriterionError) String() string {
	return proto.EnumName(CampaignCriterionErrorEnum_CampaignCriterionError_name, int32(x))
}

func (CampaignCriterionErrorEnum_CampaignCriterionError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_17e9fd199c969a2a, []int{0, 0}
}

// Container for enum describing possible campaign criterion errors.
type CampaignCriterionErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *CampaignCriterionErrorEnum) Reset()         { *m = CampaignCriterionErrorEnum{} }
func (m *CampaignCriterionErrorEnum) String() string { return proto.CompactTextString(m) }
func (*CampaignCriterionErrorEnum) ProtoMessage()    {}
func (*CampaignCriterionErrorEnum) Descriptor() ([]byte, []int) {
	return fileDescriptor_17e9fd199c969a2a, []int{0}
}

func (m *CampaignCriterionErrorEnum) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CampaignCriterionErrorEnum.Unmarshal(m, b)
}
func (m *CampaignCriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CampaignCriterionErrorEnum.Marshal(b, m, deterministic)
}
func (m *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CampaignCriterionErrorEnum.Merge(m, src)
}
func (m *CampaignCriterionErrorEnum) XXX_Size() int {
	return xxx_messageInfo_CampaignCriterionErrorEnum.Size(m)
}
func (m *CampaignCriterionErrorEnum) XXX_DiscardUnknown() {
	xxx_messageInfo_CampaignCriterionErrorEnum.DiscardUnknown(m)
}

var xxx_messageInfo_CampaignCriterionErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v2.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value)
	proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v2.errors.CampaignCriterionErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/errors/campaign_criterion_error.proto", fileDescriptor_17e9fd199c969a2a)
}

var fileDescriptor_17e9fd199c969a2a = []byte{
	// 526 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x40,
	0x14, 0x86, 0xed, 0xae, 0xb6, 0x3a, 0x15, 0x0c, 0x23, 0x56, 0x5a, 0x6b, 0x29, 0xab, 0x50, 0x44,
	0x4c, 0x60, 0xbd, 0x8b, 0x88, 0x4c, 0x27, 0xa7, 0xe9, 0x60, 0x3a, 0x33, 0x4e, 0x26, 0xab, 0x95,
	0x85, 0x21, 0x76, 0x97, 0x10, 0xe8, 0x26, 0x4b, 0xb2, 0xf6, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x00,
	0x1f, 0xc2, 0x7b, 0xbd, 0x96, 0x64, 0xb2, 0x6b, 0x91, 0xd5, 0xab, 0x9c, 0xe4, 0x7c, 0xff, 0x7f,
	0x7e, 0xc8, 0x8f, 0x5e, 0x67, 0x65, 0x99, 0x5d, 0x4e, 0xbd, 0x74, 0x52, 0x7b, 0x76, 0x6c, 0x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