1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/resources/campaign_criterion_simulation.proto 3 4package resources 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 wrappers "github.com/golang/protobuf/ptypes/wrappers" 12 common "google.golang.org/genproto/googleapis/ads/googleads/v3/common" 13 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 14 _ "google.golang.org/genproto/googleapis/api/annotations" 15) 16 17// Reference imports to suppress errors if they are not otherwise used. 18var _ = proto.Marshal 19var _ = fmt.Errorf 20var _ = math.Inf 21 22// This is a compile-time assertion to ensure that this generated file 23// is compatible with the proto package it is being compiled against. 24// A compilation error at this line likely means your copy of the 25// proto package needs to be updated. 26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 27 28// A campaign criterion simulation. Supported combinations of advertising 29// channel type, criterion ids, simulation type and simulation modification 30// method is detailed below respectively. 31// 32// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM 33// 2. SHOPPING - 30000,30001,30002 - BID_MODIFIER - UNIFORM 34// 3. DISPLAY - 30001 - BID_MODIFIER - UNIFORM 35type CampaignCriterionSimulation struct { 36 // Output only. The resource name of the campaign criterion simulation. 37 // Campaign criterion simulation resource names have the form: 38 // 39 // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` 40 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 41 // Output only. Campaign ID of the simulation. 42 CampaignId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` 43 // Output only. Criterion ID of the simulation. 44 CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` 45 // Output only. The field that the simulation modifies. 46 Type enums.SimulationTypeEnum_SimulationType `protobuf:"varint,4,opt,name=type,proto3,enum=google.ads.googleads.v3.enums.SimulationTypeEnum_SimulationType" json:"type,omitempty"` 47 // Output only. How the simulation modifies the field. 48 ModificationMethod enums.SimulationModificationMethodEnum_SimulationModificationMethod `protobuf:"varint,5,opt,name=modification_method,json=modificationMethod,proto3,enum=google.ads.googleads.v3.enums.SimulationModificationMethodEnum_SimulationModificationMethod" json:"modification_method,omitempty"` 49 // Output only. First day on which the simulation is based, in YYYY-MM-DD format. 50 StartDate *wrappers.StringValue `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` 51 // Output only. Last day on which the simulation is based, in YYYY-MM-DD format. 52 EndDate *wrappers.StringValue `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` 53 // List of simulation points. 54 // 55 // Types that are valid to be assigned to PointList: 56 // *CampaignCriterionSimulation_BidModifierPointList 57 PointList isCampaignCriterionSimulation_PointList `protobuf_oneof:"point_list"` 58 XXX_NoUnkeyedLiteral struct{} `json:"-"` 59 XXX_unrecognized []byte `json:"-"` 60 XXX_sizecache int32 `json:"-"` 61} 62 63func (m *CampaignCriterionSimulation) Reset() { *m = CampaignCriterionSimulation{} } 64func (m *CampaignCriterionSimulation) String() string { return proto.CompactTextString(m) } 65func (*CampaignCriterionSimulation) ProtoMessage() {} 66func (*CampaignCriterionSimulation) Descriptor() ([]byte, []int) { 67 return fileDescriptor_d4b0653a9a2bb524, []int{0} 68} 69 70func (m *CampaignCriterionSimulation) XXX_Unmarshal(b []byte) error { 71 return xxx_messageInfo_CampaignCriterionSimulation.Unmarshal(m, b) 72} 73func (m *CampaignCriterionSimulation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 74 return xxx_messageInfo_CampaignCriterionSimulation.Marshal(b, m, deterministic) 75} 76func (m *CampaignCriterionSimulation) XXX_Merge(src proto.Message) { 77 xxx_messageInfo_CampaignCriterionSimulation.Merge(m, src) 78} 79func (m *CampaignCriterionSimulation) XXX_Size() int { 80 return xxx_messageInfo_CampaignCriterionSimulation.Size(m) 81} 82func (m *CampaignCriterionSimulation) XXX_DiscardUnknown() { 83 xxx_messageInfo_CampaignCriterionSimulation.DiscardUnknown(m) 84} 85 86var xxx_messageInfo_CampaignCriterionSimulation proto.InternalMessageInfo 87 88func (m *CampaignCriterionSimulation) GetResourceName() string { 89 if m != nil { 90 return m.ResourceName 91 } 92 return "" 93} 94 95func (m *CampaignCriterionSimulation) GetCampaignId() *wrappers.Int64Value { 96 if m != nil { 97 return m.CampaignId 98 } 99 return nil 100} 101 102func (m *CampaignCriterionSimulation) GetCriterionId() *wrappers.Int64Value { 103 if m != nil { 104 return m.CriterionId 105 } 106 return nil 107} 108 109func (m *CampaignCriterionSimulation) GetType() enums.SimulationTypeEnum_SimulationType { 110 if m != nil { 111 return m.Type 112 } 113 return enums.SimulationTypeEnum_UNSPECIFIED 114} 115 116func (m *CampaignCriterionSimulation) GetModificationMethod() enums.SimulationModificationMethodEnum_SimulationModificationMethod { 117 if m != nil { 118 return m.ModificationMethod 119 } 120 return enums.SimulationModificationMethodEnum_UNSPECIFIED 121} 122 123func (m *CampaignCriterionSimulation) GetStartDate() *wrappers.StringValue { 124 if m != nil { 125 return m.StartDate 126 } 127 return nil 128} 129 130func (m *CampaignCriterionSimulation) GetEndDate() *wrappers.StringValue { 131 if m != nil { 132 return m.EndDate 133 } 134 return nil 135} 136 137type isCampaignCriterionSimulation_PointList interface { 138 isCampaignCriterionSimulation_PointList() 139} 140 141type CampaignCriterionSimulation_BidModifierPointList struct { 142 BidModifierPointList *common.BidModifierSimulationPointList `protobuf:"bytes,8,opt,name=bid_modifier_point_list,json=bidModifierPointList,proto3,oneof"` 143} 144 145func (*CampaignCriterionSimulation_BidModifierPointList) isCampaignCriterionSimulation_PointList() {} 146 147func (m *CampaignCriterionSimulation) GetPointList() isCampaignCriterionSimulation_PointList { 148 if m != nil { 149 return m.PointList 150 } 151 return nil 152} 153 154func (m *CampaignCriterionSimulation) GetBidModifierPointList() *common.BidModifierSimulationPointList { 155 if x, ok := m.GetPointList().(*CampaignCriterionSimulation_BidModifierPointList); ok { 156 return x.BidModifierPointList 157 } 158 return nil 159} 160 161// XXX_OneofWrappers is for the internal use of the proto package. 162func (*CampaignCriterionSimulation) XXX_OneofWrappers() []interface{} { 163 return []interface{}{ 164 (*CampaignCriterionSimulation_BidModifierPointList)(nil), 165 } 166} 167 168func init() { 169 proto.RegisterType((*CampaignCriterionSimulation)(nil), "google.ads.googleads.v3.resources.CampaignCriterionSimulation") 170} 171 172func init() { 173 proto.RegisterFile("google/ads/googleads/v3/resources/campaign_criterion_simulation.proto", fileDescriptor_d4b0653a9a2bb524) 174} 175 176var fileDescriptor_d4b0653a9a2bb524 = []byte{ 177 // 647 bytes of a gzipped FileDescriptorProto 178 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x4e, 0xd4, 0x4e, 179 0x1c, 0xff, 0x75, 0x97, 0x1f, 0x7f, 0x06, 0xf4, 0x50, 0x4d, 0xac, 0x40, 0x74, 0x31, 0x21, 0xe1, 180 0x34, 0x4d, 0x28, 0xe1, 0x50, 0x89, 0xa1, 0x45, 0x82, 0x18, 0x31, 0xb8, 0x98, 0x4d, 0x34, 0x9b, 181 0x34, 0xb3, 0x9d, 0xa1, 0x4c, 0xb2, 0x9d, 0x69, 0x66, 0xa6, 0x18, 0xa2, 0x3c, 0x80, 0x07, 0x2e, 182 0xc6, 0x27, 0xf0, 0xe8, 0xa3, 0xf8, 0x14, 0x9c, 0x79, 0x04, 0x4f, 0x66, 0xa7, 0xd3, 0x76, 0xc3, 183 0xb2, 0xeb, 0xc6, 0xdb, 0xb7, 0xfd, 0x7e, 0xfe, 0xcc, 0x7c, 0xbe, 0x33, 0x03, 0xf6, 0x13, 0xce, 184 0x93, 0x3e, 0x71, 0x11, 0x96, 0x6e, 0x51, 0x0e, 0xaa, 0x73, 0xcf, 0x15, 0x44, 0xf2, 0x5c, 0xc4, 185 0x44, 0xba, 0x31, 0x4a, 0x33, 0x44, 0x13, 0x16, 0xc5, 0x82, 0x2a, 0x22, 0x28, 0x67, 0x91, 0xa4, 186 0x69, 0xde, 0x47, 0x8a, 0x72, 0x06, 0x33, 0xc1, 0x15, 0xb7, 0xd7, 0x0a, 0x2e, 0x44, 0x58, 0xc2, 187 0x4a, 0x06, 0x9e, 0x7b, 0xb0, 0x92, 0x59, 0x76, 0xc7, 0x39, 0xc5, 0x3c, 0x4d, 0x39, 0x73, 0x6f, 188 0x6b, 0x2e, 0x87, 0xe3, 0x08, 0x84, 0xe5, 0xa9, 0x1c, 0xc2, 0x47, 0x29, 0xc7, 0xf4, 0x94, 0xc6, 189 0xe6, 0x83, 0xa8, 0x33, 0x8e, 0x8d, 0x86, 0x37, 0xb5, 0x86, 0xba, 0xc8, 0x88, 0x21, 0x3d, 0x2d, 190 0x49, 0x19, 0x75, 0x4f, 0x29, 0xe9, 0xe3, 0xa8, 0x47, 0xce, 0xd0, 0x39, 0xe5, 0xc2, 0x00, 0x1e, 191 0x0f, 0x01, 0xca, 0x0d, 0x9a, 0xd6, 0x13, 0xd3, 0xd2, 0x5f, 0xbd, 0xfc, 0xd4, 0xfd, 0x24, 0x50, 192 0x96, 0x11, 0x21, 0x4d, 0x7f, 0x75, 0x88, 0x8a, 0x18, 0xe3, 0x4a, 0xbb, 0x9b, 0xee, 0xb3, 0xef, 193 0x73, 0x60, 0x65, 0xcf, 0xc4, 0xbd, 0x57, 0xa6, 0x7d, 0x52, 0x2d, 0xd2, 0x46, 0xe0, 0x5e, 0xe9, 194 0x17, 0x31, 0x94, 0x12, 0xc7, 0x6a, 0x59, 0x1b, 0x0b, 0xe1, 0xce, 0x75, 0xd0, 0xfc, 0x1d, 0x6c, 195 0x83, 0xad, 0x3a, 0x7a, 0x53, 0x65, 0x54, 0xc2, 0x98, 0xa7, 0xee, 0x04, 0xd1, 0xf6, 0x52, 0x29, 196 0xf9, 0x16, 0xa5, 0xc4, 0x0e, 0xc0, 0x62, 0x35, 0x70, 0x8a, 0x9d, 0x46, 0xcb, 0xda, 0x58, 0xdc, 197 0x5c, 0x31, 0x7a, 0xb0, 0xdc, 0x16, 0x3c, 0x64, 0x6a, 0x7b, 0xab, 0x83, 0xfa, 0x39, 0x09, 0x9b, 198 0xd7, 0x41, 0xb3, 0x0d, 0x4a, 0xd2, 0x21, 0xb6, 0xf7, 0xc0, 0x52, 0x7d, 0x54, 0x28, 0x76, 0x9a, 199 0x53, 0x6a, 0x2c, 0x56, 0xac, 0x43, 0x6c, 0x7f, 0x00, 0x33, 0x83, 0x91, 0x38, 0x33, 0x2d, 0x6b, 200 0xe3, 0xfe, 0xe6, 0x2e, 0x1c, 0x77, 0xc0, 0xf4, 0x20, 0x61, 0xbd, 0x9d, 0xf7, 0x17, 0x19, 0xd9, 201 0x67, 0x79, 0x7a, 0xeb, 0x57, 0xe1, 0xa0, 0x25, 0xed, 0x6f, 0x16, 0x78, 0x70, 0xc7, 0x91, 0x71, 202 0xfe, 0xd7, 0x56, 0xdd, 0xa9, 0xad, 0x8e, 0x86, 0x34, 0x8e, 0xb4, 0xc4, 0x2d, 0xe3, 0x51, 0x40, 203 0xb1, 0x0c, 0x3b, 0x1d, 0x69, 0xd8, 0xbb, 0x00, 0x48, 0x85, 0x84, 0x8a, 0x30, 0x52, 0xc4, 0x99, 204 0xd5, 0x91, 0xad, 0x8e, 0x44, 0x76, 0xa2, 0x04, 0x65, 0xc9, 0x50, 0x66, 0x0b, 0x9a, 0xf4, 0x12, 205 0x29, 0x62, 0xef, 0x80, 0x79, 0xc2, 0x70, 0xc1, 0x9f, 0x9b, 0x96, 0x3f, 0x47, 0x18, 0xd6, 0xec, 206 0x2f, 0xe0, 0x51, 0x8f, 0x62, 0x73, 0x95, 0x88, 0x88, 0x32, 0x4e, 0x99, 0x8a, 0xfa, 0x54, 0x2a, 207 0x67, 0x5e, 0x8b, 0xbd, 0x18, 0x9b, 0x4b, 0x71, 0x81, 0x61, 0x48, 0xf1, 0x91, 0x61, 0xd7, 0x11, 208 0x1c, 0x0f, 0x64, 0xde, 0x50, 0xa9, 0xb4, 0xdd, 0xab, 0xff, 0xda, 0x0f, 0x7b, 0x35, 0xac, 0x6a, 209 0xfa, 0x57, 0xd6, 0x4d, 0xf0, 0xd5, 0xfa, 0xb7, 0x03, 0x6c, 0xbf, 0x8b, 0x73, 0xa9, 0x78, 0x4a, 210 0x84, 0x74, 0x3f, 0x97, 0xe5, 0x65, 0xf5, 0x6c, 0xdd, 0xc1, 0x18, 0xe0, 0x26, 0x3d, 0x6a, 0x97, 211 0xe1, 0x12, 0x00, 0x75, 0x00, 0xe1, 0x55, 0x03, 0xac, 0xc7, 0x3c, 0x85, 0x7f, 0x7d, 0xe4, 0xc2, 212 0xd6, 0x84, 0x75, 0x1e, 0x0f, 0x86, 0x70, 0x6c, 0x7d, 0x7c, 0x6d, 0x64, 0x12, 0xde, 0x47, 0x2c, 213 0x81, 0x5c, 0x24, 0x6e, 0x42, 0x98, 0x1e, 0x91, 0x5b, 0xef, 0x7a, 0xc2, 0x8b, 0xfc, 0xbc, 0xaa, 214 0x7e, 0x34, 0x9a, 0x07, 0x41, 0xf0, 0xb3, 0xb1, 0x76, 0x50, 0x48, 0x06, 0x58, 0xc2, 0xa2, 0x1c, 215 0x54, 0x1d, 0x0f, 0xb6, 0x4b, 0xe4, 0xaf, 0x12, 0xd3, 0x0d, 0xb0, 0xec, 0x56, 0x98, 0x6e, 0xc7, 216 0xeb, 0x56, 0x98, 0x9b, 0xc6, 0x7a, 0xd1, 0xf0, 0xfd, 0x00, 0x4b, 0xdf, 0xaf, 0x50, 0xbe, 0xdf, 217 0xf1, 0x7c, 0xbf, 0xc2, 0xf5, 0x66, 0xf5, 0x62, 0xbd, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xac, 218 0xb7, 0xbd, 0x44, 0x3d, 0x06, 0x00, 0x00, 219} 220