| // 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 |
| // Promoted hotels ad groups are only available to whitelisted customers. |
| AdGroupErrorEnum_PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER AdGroupErrorEnum_AdGroupError = 15 |
| ) |
| |
| 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", |
| 15: "PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER", |
| } |
| |
| 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, |
| "PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER": 15, |
| } |
| |
| 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{ |
| // 588 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xd1, 0x6a, 0xd4, 0x4c, |
| 0x14, 0xfe, 0xbb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