1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/campaign_experiment_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 experiment errors.
type CampaignExperimentErrorEnum_CampaignExperimentError int32
const (
// Enum unspecified.
CampaignExperimentErrorEnum_UNSPECIFIED CampaignExperimentErrorEnum_CampaignExperimentError = 0
// The received error code is not known in this version.
CampaignExperimentErrorEnum_UNKNOWN CampaignExperimentErrorEnum_CampaignExperimentError = 1
// An active campaign or experiment with this name already exists.
CampaignExperimentErrorEnum_DUPLICATE_NAME CampaignExperimentErrorEnum_CampaignExperimentError = 2
// Experiment cannot be updated from the current state to the
// requested target state. For example, an experiment can only graduate
// if its status is ENABLED.
CampaignExperimentErrorEnum_INVALID_TRANSITION CampaignExperimentErrorEnum_CampaignExperimentError = 3
// Cannot create an experiment from a campaign using an explicitly shared
// budget.
CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET CampaignExperimentErrorEnum_CampaignExperimentError = 4
// Cannot create an experiment for a removed base campaign.
CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN CampaignExperimentErrorEnum_CampaignExperimentError = 5
// Cannot create an experiment from a draft, which has a status other than
// proposed.
CampaignExperimentErrorEnum_CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT CampaignExperimentErrorEnum_CampaignExperimentError = 6
// This customer is not allowed to create an experiment.
CampaignExperimentErrorEnum_CUSTOMER_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 7
// This campaign is not allowed to create an experiment.
CampaignExperimentErrorEnum_CAMPAIGN_CANNOT_CREATE_EXPERIMENT CampaignExperimentErrorEnum_CampaignExperimentError = 8
// Trying to set an experiment duration which overlaps with another
// experiment.
CampaignExperimentErrorEnum_EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP CampaignExperimentErrorEnum_CampaignExperimentError = 9
// All non-removed experiments must start and end within their campaign's
// duration.
CampaignExperimentErrorEnum_EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION CampaignExperimentErrorEnum_CampaignExperimentError = 10
// The experiment cannot be modified because its status is in a terminal
// state, such as REMOVED.
CampaignExperimentErrorEnum_CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS CampaignExperimentErrorEnum_CampaignExperimentError = 11
)
var CampaignExperimentErrorEnum_CampaignExperimentError_name = map[int32]string{
0: "UNSPECIFIED",
1: "UNKNOWN",
2: "DUPLICATE_NAME",
3: "INVALID_TRANSITION",
4: "CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET",
5: "CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN",
6: "CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT",
7: "CUSTOMER_CANNOT_CREATE_EXPERIMENT",
8: "CAMPAIGN_CANNOT_CREATE_EXPERIMENT",
9: "EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP",
10: "EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION",
11: "CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS",
}
var CampaignExperimentErrorEnum_CampaignExperimentError_value = map[string]int32{
"UNSPECIFIED": 0,
"UNKNOWN": 1,
"DUPLICATE_NAME": 2,
"INVALID_TRANSITION": 3,
"CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET": 4,
"CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN": 5,
"CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT": 6,
"CUSTOMER_CANNOT_CREATE_EXPERIMENT": 7,
"CAMPAIGN_CANNOT_CREATE_EXPERIMENT": 8,
"EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP": 9,
"EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION": 10,
"CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS": 11,
}
func (x CampaignExperimentErrorEnum_CampaignExperimentError) String() string {
return proto.EnumName(CampaignExperimentErrorEnum_CampaignExperimentError_name, int32(x))
}
func (CampaignExperimentErrorEnum_CampaignExperimentError) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_f9f22a1dd7457e60, []int{0, 0}
}
// Container for enum describing possible campaign experiment errors.
type CampaignExperimentErrorEnum struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CampaignExperimentErrorEnum) Reset() { *m = CampaignExperimentErrorEnum{} }
func (m *CampaignExperimentErrorEnum) String() string { return proto.CompactTextString(m) }
func (*CampaignExperimentErrorEnum) ProtoMessage() {}
func (*CampaignExperimentErrorEnum) Descriptor() ([]byte, []int) {
return fileDescriptor_f9f22a1dd7457e60, []int{0}
}
func (m *CampaignExperimentErrorEnum) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CampaignExperimentErrorEnum.Unmarshal(m, b)
}
func (m *CampaignExperimentErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CampaignExperimentErrorEnum.Marshal(b, m, deterministic)
}
func (m *CampaignExperimentErrorEnum) XXX_Merge(src proto.Message) {
xxx_messageInfo_CampaignExperimentErrorEnum.Merge(m, src)
}
func (m *CampaignExperimentErrorEnum) XXX_Size() int {
return xxx_messageInfo_CampaignExperimentErrorEnum.Size(m)
}
func (m *CampaignExperimentErrorEnum) XXX_DiscardUnknown() {
xxx_messageInfo_CampaignExperimentErrorEnum.DiscardUnknown(m)
}
var xxx_messageInfo_CampaignExperimentErrorEnum proto.InternalMessageInfo
func init() {
proto.RegisterEnum("google.ads.googleads.v3.errors.CampaignExperimentErrorEnum_CampaignExperimentError", CampaignExperimentErrorEnum_CampaignExperimentError_name, CampaignExperimentErrorEnum_CampaignExperimentError_value)
proto.RegisterType((*CampaignExperimentErrorEnum)(nil), "google.ads.googleads.v3.errors.CampaignExperimentErrorEnum")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/errors/campaign_experiment_error.proto", fileDescriptor_f9f22a1dd7457e60)
}
var fileDescriptor_f9f22a1dd7457e60 = []byte{
// 502 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x8b, 0xd3, 0x30,
0x1c, 0xc7, 0xbd, 0xed, 0xbc, 0xd3, 0x0c, 0x34, 0xe4, 0x41, 0x41, 0x8f, 0x03, 0x07, 0x27, 0xa8,
0xd0, 0x82, 0x15, 0x91, 0x0a, 0x42, 0xd6, 0xfe, 0xb6, 0x0b, 0xae, 0x49, 0x49, 0xd3, 0x9e, 0xc8,
0x20, 0xd4, 0x5b, 0x29, 0x83, 0x5b, 0x3b, 0xda, 0x79, 0xf8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