// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/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_05f1ed18896f208f, []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_05f1ed18896f208f, []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.v3.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value)
	proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v3.errors.CampaignCriterionErrorEnum")
}

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

var fileDescriptor_05f1ed18896f208f = []byte{
	// 527 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x4e,
	0x14, 0xc6, 0xff, 0xdd, 0xfd, 0xdb, 0xea, 0x54, 0x30, 0x8c, 0x58, 0x69, 0xad, 0xa5, 0xac, 0x42,
	0x11, 0x31, 0xb9, 0xc8, 0x5d, 0x44, 0x64, 0x3a, 0x39, 0x4d, 0x07, 0xd3, 0x99, 0x71, 0x32, 0x59,
	0xad, 0x2c, 0x0c, 0xb1, 0xbb, 0x84, 0x40, 0x9b, 0x2c, 0xc9, 0xda, 0x07, 0xf2, 0xd2, 0x47, 0xf1,
	0x01, 0x7c, 0x08, 0xef, 0xf5, 0x5a, 0x92, 0xc9, 0xae, 0x45, 0x56, 0xaf, 0x72, 0x92, 0xf3, 0xfb,
	0xbe, 0xf3, 0x41, 0x3e, 0xf4, 0x2a, 0xaf, 0xaa, 0xfc, 0x72, 0xe6, 0x65, 0xd3, 0xc6, 0xb3, 0x63,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