// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/ad_group_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 ad group errors.
type AdGroupErrorEnum_AdGroupError int32

const (
	// Enum unspecified.
	AdGroupErrorEnum_UNSPECIFIED AdGroupErrorEnum_AdGroupError = 0
	// The received error code is not known in this version.
	AdGroupErrorEnum_UNKNOWN AdGroupErrorEnum_AdGroupError = 1
	// AdGroup with the same name already exists for the campaign.
	AdGroupErrorEnum_DUPLICATE_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 2
	// AdGroup name is not valid.
	AdGroupErrorEnum_INVALID_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 3
	// Advertiser is not allowed to target sites or set site bids that are not
	// on the Google Search Network.
	AdGroupErrorEnum_ADVERTISER_NOT_ON_CONTENT_NETWORK AdGroupErrorEnum_AdGroupError = 5
	// Bid amount is too big.
	AdGroupErrorEnum_BID_TOO_BIG AdGroupErrorEnum_AdGroupError = 6
	// AdGroup bid does not match the campaign's bidding strategy.
	AdGroupErrorEnum_BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH AdGroupErrorEnum_AdGroupError = 7
	// AdGroup name is required for Add.
	AdGroupErrorEnum_MISSING_ADGROUP_NAME AdGroupErrorEnum_AdGroupError = 8
	// No link found between the ad group and the label.
	AdGroupErrorEnum_ADGROUP_LABEL_DOES_NOT_EXIST AdGroupErrorEnum_AdGroupError = 9
	// The label has already been attached to the ad group.
	AdGroupErrorEnum_ADGROUP_LABEL_ALREADY_EXISTS AdGroupErrorEnum_AdGroupError = 10
	// The CriterionTypeGroup is not supported for the content bid dimension.
	AdGroupErrorEnum_INVALID_CONTENT_BID_CRITERION_TYPE_GROUP AdGroupErrorEnum_AdGroupError = 11
	// The ad group type is not compatible with the campaign channel type.
	AdGroupErrorEnum_AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE AdGroupErrorEnum_AdGroupError = 12
	// The ad group type is not supported in the country of sale of the
	// campaign.
	AdGroupErrorEnum_ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY AdGroupErrorEnum_AdGroupError = 13
	// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to
	// campaigns that have DynamicSearchAdsSetting attached.
	AdGroupErrorEnum_CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING AdGroupErrorEnum_AdGroupError = 14
)

var AdGroupErrorEnum_AdGroupError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	2:  "DUPLICATE_ADGROUP_NAME",
	3:  "INVALID_ADGROUP_NAME",
	5:  "ADVERTISER_NOT_ON_CONTENT_NETWORK",
	6:  "BID_TOO_BIG",
	7:  "BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH",
	8:  "MISSING_ADGROUP_NAME",
	9:  "ADGROUP_LABEL_DOES_NOT_EXIST",
	10: "ADGROUP_LABEL_ALREADY_EXISTS",
	11: "INVALID_CONTENT_BID_CRITERION_TYPE_GROUP",
	12: "AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE",
	13: "ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY",
	14: "CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING",
}

var AdGroupErrorEnum_AdGroupError_value = map[string]int32{
	"UNSPECIFIED":                                                    0,
	"UNKNOWN":                                                        1,
	"DUPLICATE_ADGROUP_NAME":                                         2,
	"INVALID_ADGROUP_NAME":                                           3,
	"ADVERTISER_NOT_ON_CONTENT_NETWORK":                              5,
	"BID_TOO_BIG":                                                    6,
	"BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH":                         7,
	"MISSING_ADGROUP_NAME":                                           8,
	"ADGROUP_LABEL_DOES_NOT_EXIST":                                   9,
	"ADGROUP_LABEL_ALREADY_EXISTS":                                   10,
	"INVALID_CONTENT_BID_CRITERION_TYPE_GROUP":                       11,
	"AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE":           12,
	"ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY":          13,
	"CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING": 14,
}

func (x AdGroupErrorEnum_AdGroupError) String() string {
	return proto.EnumName(AdGroupErrorEnum_AdGroupError_name, int32(x))
}

func (AdGroupErrorEnum_AdGroupError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_e609153f44ae1ab8, []int{0, 0}
}

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

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

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

var xxx_messageInfo_AdGroupErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.AdGroupErrorEnum_AdGroupError", AdGroupErrorEnum_AdGroupError_name, AdGroupErrorEnum_AdGroupError_value)
	proto.RegisterType((*AdGroupErrorEnum)(nil), "google.ads.googleads.v3.errors.AdGroupErrorEnum")
}

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

var fileDescriptor_e609153f44ae1ab8 = []byte{
	// 553 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x40,
	0x14, 0x86, 0xed, 0xb6, 0xb6, 0x3a, 0xad, 0x3a, 0x0e, 0x22, 0x52, 0x4a, 0xd1, 0x05, 0x45, 0x44,
	0xb2, 0x17, 0x51, 0xd0, 0x08, 0xc2, 0x49, 0x66, 0x9a, 0x0e, 0xcd, 0xce, 0x84, 0xcc, 0x64, 0xeb,
	0xca, 0xc2, 0xb0, 0x9a, 0x12, 0x0a, 0x6d, 0xb2, 0x24, 0x6d, 0x5f, 0xc2, 0x97, 0x10, 0x2f, 0x7d,
	0x14, 0x1f, 0x45, 0x7c, 0x08, 0x99, 0x8c, 0xd9, 0xb6, 0x88, 0x5e, 0xe5, 0xcc, 0x99, 0xef, 0x3f,
	0xe7, 0x4f, 0xf2, 0x23, 0xbf, 0xac, 0xeb, 0xf2, 0xe4, 0x68, 0x34, 0x2f, 0xda, 0x91, 0x2b, 0x6d,
	0x75, 0xe1, 0x8f, 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