1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/resources/ad_group_bid_modifier.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/v1/common" 13 enums "google.golang.org/genproto/googleapis/ads/googleads/v1/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// Represents an ad group bid modifier. 29type AdGroupBidModifier struct { 30 // The resource name of the ad group bid modifier. 31 // Ad group bid modifier resource names have the form: 32 // 33 // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` 34 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 35 // The ad group to which this criterion belongs. 36 AdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` 37 // The ID of the criterion to bid modify. 38 // 39 // This field is ignored for mutates. 40 CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"` 41 // The modifier for the bid when the criterion matches. The modifier must be 42 // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. 43 // Use 0 to opt out of a Device type. 44 BidModifier *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"` 45 // The base ad group from which this draft/trial adgroup bid modifier was 46 // created. If ad_group is a base ad group then this field will be equal to 47 // ad_group. If the ad group was created in the draft or trial and has no 48 // corresponding base ad group, then this field will be null. 49 // This field is readonly. 50 BaseAdGroup *wrappers.StringValue `protobuf:"bytes,9,opt,name=base_ad_group,json=baseAdGroup,proto3" json:"base_ad_group,omitempty"` 51 // Bid modifier source. 52 BidModifierSource enums.BidModifierSourceEnum_BidModifierSource `protobuf:"varint,10,opt,name=bid_modifier_source,json=bidModifierSource,proto3,enum=google.ads.googleads.v1.enums.BidModifierSourceEnum_BidModifierSource" json:"bid_modifier_source,omitempty"` 53 // The criterion of this ad group bid modifier. 54 // 55 // Types that are valid to be assigned to Criterion: 56 // *AdGroupBidModifier_HotelDateSelectionType 57 // *AdGroupBidModifier_HotelAdvanceBookingWindow 58 // *AdGroupBidModifier_HotelLengthOfStay 59 // *AdGroupBidModifier_HotelCheckInDay 60 // *AdGroupBidModifier_Device 61 // *AdGroupBidModifier_PreferredContent 62 Criterion isAdGroupBidModifier_Criterion `protobuf_oneof:"criterion"` 63 XXX_NoUnkeyedLiteral struct{} `json:"-"` 64 XXX_unrecognized []byte `json:"-"` 65 XXX_sizecache int32 `json:"-"` 66} 67 68func (m *AdGroupBidModifier) Reset() { *m = AdGroupBidModifier{} } 69func (m *AdGroupBidModifier) String() string { return proto.CompactTextString(m) } 70func (*AdGroupBidModifier) ProtoMessage() {} 71func (*AdGroupBidModifier) Descriptor() ([]byte, []int) { 72 return fileDescriptor_14c1022b135ec410, []int{0} 73} 74 75func (m *AdGroupBidModifier) XXX_Unmarshal(b []byte) error { 76 return xxx_messageInfo_AdGroupBidModifier.Unmarshal(m, b) 77} 78func (m *AdGroupBidModifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 79 return xxx_messageInfo_AdGroupBidModifier.Marshal(b, m, deterministic) 80} 81func (m *AdGroupBidModifier) XXX_Merge(src proto.Message) { 82 xxx_messageInfo_AdGroupBidModifier.Merge(m, src) 83} 84func (m *AdGroupBidModifier) XXX_Size() int { 85 return xxx_messageInfo_AdGroupBidModifier.Size(m) 86} 87func (m *AdGroupBidModifier) XXX_DiscardUnknown() { 88 xxx_messageInfo_AdGroupBidModifier.DiscardUnknown(m) 89} 90 91var xxx_messageInfo_AdGroupBidModifier proto.InternalMessageInfo 92 93func (m *AdGroupBidModifier) GetResourceName() string { 94 if m != nil { 95 return m.ResourceName 96 } 97 return "" 98} 99 100func (m *AdGroupBidModifier) GetAdGroup() *wrappers.StringValue { 101 if m != nil { 102 return m.AdGroup 103 } 104 return nil 105} 106 107func (m *AdGroupBidModifier) GetCriterionId() *wrappers.Int64Value { 108 if m != nil { 109 return m.CriterionId 110 } 111 return nil 112} 113 114func (m *AdGroupBidModifier) GetBidModifier() *wrappers.DoubleValue { 115 if m != nil { 116 return m.BidModifier 117 } 118 return nil 119} 120 121func (m *AdGroupBidModifier) GetBaseAdGroup() *wrappers.StringValue { 122 if m != nil { 123 return m.BaseAdGroup 124 } 125 return nil 126} 127 128func (m *AdGroupBidModifier) GetBidModifierSource() enums.BidModifierSourceEnum_BidModifierSource { 129 if m != nil { 130 return m.BidModifierSource 131 } 132 return enums.BidModifierSourceEnum_UNSPECIFIED 133} 134 135type isAdGroupBidModifier_Criterion interface { 136 isAdGroupBidModifier_Criterion() 137} 138 139type AdGroupBidModifier_HotelDateSelectionType struct { 140 HotelDateSelectionType *common.HotelDateSelectionTypeInfo `protobuf:"bytes,5,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,oneof"` 141} 142 143type AdGroupBidModifier_HotelAdvanceBookingWindow struct { 144 HotelAdvanceBookingWindow *common.HotelAdvanceBookingWindowInfo `protobuf:"bytes,6,opt,name=hotel_advance_booking_window,json=hotelAdvanceBookingWindow,proto3,oneof"` 145} 146 147type AdGroupBidModifier_HotelLengthOfStay struct { 148 HotelLengthOfStay *common.HotelLengthOfStayInfo `protobuf:"bytes,7,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3,oneof"` 149} 150 151type AdGroupBidModifier_HotelCheckInDay struct { 152 HotelCheckInDay *common.HotelCheckInDayInfo `protobuf:"bytes,8,opt,name=hotel_check_in_day,json=hotelCheckInDay,proto3,oneof"` 153} 154 155type AdGroupBidModifier_Device struct { 156 Device *common.DeviceInfo `protobuf:"bytes,11,opt,name=device,proto3,oneof"` 157} 158 159type AdGroupBidModifier_PreferredContent struct { 160 PreferredContent *common.PreferredContentInfo `protobuf:"bytes,12,opt,name=preferred_content,json=preferredContent,proto3,oneof"` 161} 162 163func (*AdGroupBidModifier_HotelDateSelectionType) isAdGroupBidModifier_Criterion() {} 164 165func (*AdGroupBidModifier_HotelAdvanceBookingWindow) isAdGroupBidModifier_Criterion() {} 166 167func (*AdGroupBidModifier_HotelLengthOfStay) isAdGroupBidModifier_Criterion() {} 168 169func (*AdGroupBidModifier_HotelCheckInDay) isAdGroupBidModifier_Criterion() {} 170 171func (*AdGroupBidModifier_Device) isAdGroupBidModifier_Criterion() {} 172 173func (*AdGroupBidModifier_PreferredContent) isAdGroupBidModifier_Criterion() {} 174 175func (m *AdGroupBidModifier) GetCriterion() isAdGroupBidModifier_Criterion { 176 if m != nil { 177 return m.Criterion 178 } 179 return nil 180} 181 182func (m *AdGroupBidModifier) GetHotelDateSelectionType() *common.HotelDateSelectionTypeInfo { 183 if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelDateSelectionType); ok { 184 return x.HotelDateSelectionType 185 } 186 return nil 187} 188 189func (m *AdGroupBidModifier) GetHotelAdvanceBookingWindow() *common.HotelAdvanceBookingWindowInfo { 190 if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelAdvanceBookingWindow); ok { 191 return x.HotelAdvanceBookingWindow 192 } 193 return nil 194} 195 196func (m *AdGroupBidModifier) GetHotelLengthOfStay() *common.HotelLengthOfStayInfo { 197 if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelLengthOfStay); ok { 198 return x.HotelLengthOfStay 199 } 200 return nil 201} 202 203func (m *AdGroupBidModifier) GetHotelCheckInDay() *common.HotelCheckInDayInfo { 204 if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelCheckInDay); ok { 205 return x.HotelCheckInDay 206 } 207 return nil 208} 209 210func (m *AdGroupBidModifier) GetDevice() *common.DeviceInfo { 211 if x, ok := m.GetCriterion().(*AdGroupBidModifier_Device); ok { 212 return x.Device 213 } 214 return nil 215} 216 217func (m *AdGroupBidModifier) GetPreferredContent() *common.PreferredContentInfo { 218 if x, ok := m.GetCriterion().(*AdGroupBidModifier_PreferredContent); ok { 219 return x.PreferredContent 220 } 221 return nil 222} 223 224// XXX_OneofWrappers is for the internal use of the proto package. 225func (*AdGroupBidModifier) XXX_OneofWrappers() []interface{} { 226 return []interface{}{ 227 (*AdGroupBidModifier_HotelDateSelectionType)(nil), 228 (*AdGroupBidModifier_HotelAdvanceBookingWindow)(nil), 229 (*AdGroupBidModifier_HotelLengthOfStay)(nil), 230 (*AdGroupBidModifier_HotelCheckInDay)(nil), 231 (*AdGroupBidModifier_Device)(nil), 232 (*AdGroupBidModifier_PreferredContent)(nil), 233 } 234} 235 236func init() { 237 proto.RegisterType((*AdGroupBidModifier)(nil), "google.ads.googleads.v1.resources.AdGroupBidModifier") 238} 239 240func init() { 241 proto.RegisterFile("google/ads/googleads/v1/resources/ad_group_bid_modifier.proto", fileDescriptor_14c1022b135ec410) 242} 243 244var fileDescriptor_14c1022b135ec410 = []byte{ 245 // 693 bytes of a gzipped FileDescriptorProto 246 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdd, 0x6e, 0xd3, 0x48, 247 0x14, 0xde, 0xa4, 0xbb, 0xfd, 0x99, 0xa4, 0xbb, 0x5b, 0xef, 0x6a, 0xd7, 0x94, 0x0a, 0xb5, 0xa0, 248 0x4a, 0x15, 0x12, 0xb6, 0xd2, 0x16, 0x2a, 0x19, 0x15, 0x48, 0x1a, 0x68, 0x83, 0xf8, 0xa9, 0x12, 249 0x14, 0x24, 0x14, 0x69, 0x34, 0xf6, 0x9c, 0x38, 0xa3, 0xc6, 0x33, 0x96, 0x3d, 0x49, 0x94, 0x3b, 250 0x2e, 0x78, 0x12, 0x2e, 0xb9, 0xe1, 0x3d, 0x78, 0x14, 0x9e, 0x02, 0x79, 0x66, 0x6c, 0x85, 0xb6, 251 0xa1, 0xb9, 0x3b, 0x3e, 0xe7, 0xfb, 0x39, 0xe7, 0x8c, 0x67, 0xd0, 0x71, 0x28, 0x44, 0x38, 0x04, 252 0x97, 0xd0, 0xd4, 0xd5, 0x61, 0x16, 0x8d, 0x6b, 0x6e, 0x02, 0xa9, 0x18, 0x25, 0x01, 0xa4, 0x2e, 253 0xa1, 0x38, 0x4c, 0xc4, 0x28, 0xc6, 0x3e, 0xa3, 0x38, 0x12, 0x94, 0xf5, 0x19, 0x24, 0x4e, 0x9c, 254 0x08, 0x29, 0xac, 0x1d, 0xcd, 0x71, 0x08, 0x4d, 0x9d, 0x82, 0xee, 0x8c, 0x6b, 0x4e, 0x41, 0xdf, 255 0x7c, 0x30, 0xcf, 0x21, 0x10, 0x51, 0x24, 0xb8, 0x1b, 0x24, 0x4c, 0x42, 0xc2, 0x88, 0x56, 0xdc, 256 0x3c, 0x9a, 0x07, 0x07, 0x3e, 0x8a, 0x52, 0x77, 0xb6, 0x07, 0xac, 0x2d, 0x0c, 0x71, 0x2b, 0x27, 257 0xc6, 0xcc, 0x25, 0x9c, 0x0b, 0x49, 0x24, 0x13, 0x3c, 0x35, 0xd5, 0x3b, 0xa6, 0xaa, 0xbe, 0xfc, 258 0x51, 0xdf, 0x9d, 0x24, 0x24, 0x8e, 0x21, 0x31, 0xf5, 0xbb, 0x5f, 0x57, 0x91, 0x55, 0xa7, 0xa7, 259 0xd9, 0x9c, 0x0d, 0x46, 0x5f, 0x1b, 0x07, 0xeb, 0x1e, 0x5a, 0xcf, 0x27, 0xc1, 0x9c, 0x44, 0x60, 260 0x97, 0xb6, 0x4b, 0x7b, 0x6b, 0xed, 0x6a, 0x9e, 0x7c, 0x43, 0x22, 0xb0, 0x8e, 0xd0, 0x6a, 0xbe, 261 0x23, 0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0x00, 0xf6, 0x85, 0xb8, 0x60, 0x3c, 0xc4, 0x13, 0xc6, 0xa9, 0x98, 273 0xd8, 0xcb, 0xca, 0xfc, 0x78, 0x21, 0xf3, 0xba, 0x96, 0x68, 0x68, 0x85, 0xf7, 0x4a, 0xc0, 0xf8, 274 0xeb, 0xf1, 0xae, 0x03, 0x58, 0x03, 0xf4, 0xaf, 0xee, 0x60, 0x08, 0x3c, 0x94, 0x03, 0x2c, 0xfa, 275 0x38, 0x95, 0x64, 0x6a, 0xaf, 0x28, 0xe7, 0x87, 0x0b, 0x39, 0xbf, 0x52, 0xd4, 0xb7, 0xfd, 0x8e, 276 0x24, 0x53, 0xe3, 0xb8, 0x31, 0xb8, 0x5c, 0xb0, 0x7c, 0x64, 0x69, 0xa7, 0x60, 0x00, 0xc1, 0x05, 277 0x66, 0x1c, 0x53, 0x32, 0xb5, 0x57, 0x95, 0xcf, 0xc1, 0x42, 0x3e, 0x27, 0x19, 0xb1, 0xc5, 0x9b, 278 0x85, 0xcb, 0x5f, 0x83, 0x9f, 0xd3, 0x56, 0x13, 0x2d, 0x53, 0x18, 0xb3, 0x00, 0xec, 0x8a, 0xd2, 279 0xbd, 0x7f, 0x93, 0x6e, 0x53, 0xa1, 0x8d, 0x9c, 0xe1, 0x5a, 0x01, 0xda, 0x88, 0x13, 0xe8, 0x43, 280 0x92, 0x00, 0xc5, 0x81, 0xe0, 0x12, 0xb8, 0xb4, 0xab, 0x4a, 0xf0, 0xf0, 0x26, 0xc1, 0xf3, 0x9c, 281 0x78, 0xa2, 0x79, 0x46, 0xfa, 0xef, 0xf8, 0x52, 0xbe, 0x51, 0x41, 0x6b, 0xc5, 0xf5, 0x6b, 0x7c, 282 0x2a, 0xa3, 0xdd, 0x40, 0x44, 0xce, 0x8d, 0x2f, 0x60, 0xe3, 0xff, 0xab, 0x0f, 0xcb, 0x79, 0x76, 283 0xb1, 0xce, 0x4b, 0x1f, 0x5e, 0x1a, 0x76, 0x28, 0x86, 0x84, 0x87, 0x8e, 0x48, 0x42, 0x37, 0x04, 284 0xae, 0xae, 0x5d, 0xfe, 0xfa, 0xc5, 0x2c, 0xfd, 0xc5, 0xeb, 0xfc, 0xb8, 0x88, 0x3e, 0x97, 0x97, 285 0x4e, 0xeb, 0xf5, 0x2f, 0xe5, 0x9d, 0x53, 0x2d, 0x59, 0xa7, 0xa9, 0xa3, 0xc3, 0x2c, 0xea, 0xd6, 286 0x9c, 0x76, 0x8e, 0xfc, 0x96, 0x63, 0x7a, 0x75, 0x9a, 0xf6, 0x0a, 0x4c, 0xaf, 0x5b, 0xeb, 0x15, 287 0x98, 0xef, 0xe5, 0x5d, 0x5d, 0xf0, 0xbc, 0x3a, 0x4d, 0x3d, 0xaf, 0x40, 0x79, 0x5e, 0xb7, 0xe6, 288 0x79, 0x05, 0xce, 0x5f, 0x56, 0xcd, 0x1e, 0xfc, 0x08, 0x00, 0x00, 0xff, 0xff, 0x36, 0x2c, 0x67, 289 0x25, 0x49, 0x06, 0x00, 0x00, 290} 291