// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/errors/campaign_criterion_error.proto

package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v0/errors"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

// 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.ProtoPackageIsVersion2 // 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_campaign_criterion_error_bcbc8905a0ff6138, []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_campaign_criterion_error_bcbc8905a0ff6138, []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 (dst *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CampaignCriterionErrorEnum.Merge(dst, 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.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v0.errors.CampaignCriterionErrorEnum")
	proto.RegisterEnum("google.ads.googleads.v0.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value)
}

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

var fileDescriptor_campaign_criterion_error_bcbc8905a0ff6138 = []byte{
	// 510 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8a, 0xd3, 0x4e,
	0x14, 0xc6, 0xff, 0x6d, 0xff, 0xee, 0xea, 0x54, 0x30, 0x8c, 0xb8, 0xb2, 0xab, 0x2e, 0x4b, 0x15,
	0x16, 0x11, 0xd3, 0x82, 0x77, 0x11, 0x91, 0xd9, 0x99, 0xd3, 0xec, 0x60, 0x3a, 0x33, 0x4e, 0x26,
	0xd5, 0x4a, 0x61, 0xa8, 0x6d, 0x09, 0x85, 0x6d, 0x53, 0x92, 0x75, 0x1f, 0xc8, 0x4b, 0x1f, 0xc5,
	0x07, 0xf0, 0x21, 0xbc, 0xd7, 0x6b, 0x49, 0x26, 0xad, 0x8b, 0x54, 0xaf, 0x72, 0x92, 0xf3, 0xfb,
	0xbe, 0xf3, 0x41, 0x3e, 0xf4, 0x2a, 0xcd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