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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/ad_group_bid_modifier.proto
package resources
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
common "google.golang.org/genproto/googleapis/ads/googleads/v3/common"
enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
_ "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
// Represents an ad group bid modifier.
type AdGroupBidModifier struct {
// Immutable. The resource name of the ad group bid modifier.
// Ad group bid modifier resource names have the form:
//
// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Immutable. The ad group to which this criterion belongs.
AdGroup *wrappers.StringValue `protobuf:"bytes,2,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"`
// Output only. The ID of the criterion to bid modify.
//
// This field is ignored for mutates.
CriterionId *wrappers.Int64Value `protobuf:"bytes,3,opt,name=criterion_id,json=criterionId,proto3" json:"criterion_id,omitempty"`
// The modifier for the bid when the criterion matches. The modifier must be
// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent.
// Use 0 to opt out of a Device type.
BidModifier *wrappers.DoubleValue `protobuf:"bytes,4,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"`
// Output only. The base ad group from which this draft/trial adgroup bid modifier was
// created. If ad_group is a base ad group then this field will be equal to
// ad_group. If the ad group was created in the draft or trial and has no
// corresponding base ad group, then this field will be null.
// This field is readonly.
BaseAdGroup *wrappers.StringValue `protobuf:"bytes,9,opt,name=base_ad_group,json=baseAdGroup,proto3" json:"base_ad_group,omitempty"`
// Output only. Bid modifier source.
BidModifierSource enums.BidModifierSourceEnum_BidModifierSource `protobuf:"varint,10,opt,name=bid_modifier_source,json=bidModifierSource,proto3,enum=google.ads.googleads.v3.enums.BidModifierSourceEnum_BidModifierSource" json:"bid_modifier_source,omitempty"`
// The criterion of this ad group bid modifier.
//
// Types that are valid to be assigned to Criterion:
// *AdGroupBidModifier_HotelDateSelectionType
// *AdGroupBidModifier_HotelAdvanceBookingWindow
// *AdGroupBidModifier_HotelLengthOfStay
// *AdGroupBidModifier_HotelCheckInDay
// *AdGroupBidModifier_Device
// *AdGroupBidModifier_PreferredContent
Criterion isAdGroupBidModifier_Criterion `protobuf_oneof:"criterion"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AdGroupBidModifier) Reset() { *m = AdGroupBidModifier{} }
func (m *AdGroupBidModifier) String() string { return proto.CompactTextString(m) }
func (*AdGroupBidModifier) ProtoMessage() {}
func (*AdGroupBidModifier) Descriptor() ([]byte, []int) {
return fileDescriptor_d9b50cb17f277d0c, []int{0}
}
func (m *AdGroupBidModifier) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AdGroupBidModifier.Unmarshal(m, b)
}
func (m *AdGroupBidModifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AdGroupBidModifier.Marshal(b, m, deterministic)
}
func (m *AdGroupBidModifier) XXX_Merge(src proto.Message) {
xxx_messageInfo_AdGroupBidModifier.Merge(m, src)
}
func (m *AdGroupBidModifier) XXX_Size() int {
return xxx_messageInfo_AdGroupBidModifier.Size(m)
}
func (m *AdGroupBidModifier) XXX_DiscardUnknown() {
xxx_messageInfo_AdGroupBidModifier.DiscardUnknown(m)
}
var xxx_messageInfo_AdGroupBidModifier proto.InternalMessageInfo
func (m *AdGroupBidModifier) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *AdGroupBidModifier) GetAdGroup() *wrappers.StringValue {
if m != nil {
return m.AdGroup
}
return nil
}
func (m *AdGroupBidModifier) GetCriterionId() *wrappers.Int64Value {
if m != nil {
return m.CriterionId
}
return nil
}
func (m *AdGroupBidModifier) GetBidModifier() *wrappers.DoubleValue {
if m != nil {
return m.BidModifier
}
return nil
}
func (m *AdGroupBidModifier) GetBaseAdGroup() *wrappers.StringValue {
if m != nil {
return m.BaseAdGroup
}
return nil
}
func (m *AdGroupBidModifier) GetBidModifierSource() enums.BidModifierSourceEnum_BidModifierSource {
if m != nil {
return m.BidModifierSource
}
return enums.BidModifierSourceEnum_UNSPECIFIED
}
type isAdGroupBidModifier_Criterion interface {
isAdGroupBidModifier_Criterion()
}
type AdGroupBidModifier_HotelDateSelectionType struct {
HotelDateSelectionType *common.HotelDateSelectionTypeInfo `protobuf:"bytes,5,opt,name=hotel_date_selection_type,json=hotelDateSelectionType,proto3,oneof"`
}
type AdGroupBidModifier_HotelAdvanceBookingWindow struct {
HotelAdvanceBookingWindow *common.HotelAdvanceBookingWindowInfo `protobuf:"bytes,6,opt,name=hotel_advance_booking_window,json=hotelAdvanceBookingWindow,proto3,oneof"`
}
type AdGroupBidModifier_HotelLengthOfStay struct {
HotelLengthOfStay *common.HotelLengthOfStayInfo `protobuf:"bytes,7,opt,name=hotel_length_of_stay,json=hotelLengthOfStay,proto3,oneof"`
}
type AdGroupBidModifier_HotelCheckInDay struct {
HotelCheckInDay *common.HotelCheckInDayInfo `protobuf:"bytes,8,opt,name=hotel_check_in_day,json=hotelCheckInDay,proto3,oneof"`
}
type AdGroupBidModifier_Device struct {
Device *common.DeviceInfo `protobuf:"bytes,11,opt,name=device,proto3,oneof"`
}
type AdGroupBidModifier_PreferredContent struct {
PreferredContent *common.PreferredContentInfo `protobuf:"bytes,12,opt,name=preferred_content,json=preferredContent,proto3,oneof"`
}
func (*AdGroupBidModifier_HotelDateSelectionType) isAdGroupBidModifier_Criterion() {}
func (*AdGroupBidModifier_HotelAdvanceBookingWindow) isAdGroupBidModifier_Criterion() {}
func (*AdGroupBidModifier_HotelLengthOfStay) isAdGroupBidModifier_Criterion() {}
func (*AdGroupBidModifier_HotelCheckInDay) isAdGroupBidModifier_Criterion() {}
func (*AdGroupBidModifier_Device) isAdGroupBidModifier_Criterion() {}
func (*AdGroupBidModifier_PreferredContent) isAdGroupBidModifier_Criterion() {}
func (m *AdGroupBidModifier) GetCriterion() isAdGroupBidModifier_Criterion {
if m != nil {
return m.Criterion
}
return nil
}
func (m *AdGroupBidModifier) GetHotelDateSelectionType() *common.HotelDateSelectionTypeInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelDateSelectionType); ok {
return x.HotelDateSelectionType
}
return nil
}
func (m *AdGroupBidModifier) GetHotelAdvanceBookingWindow() *common.HotelAdvanceBookingWindowInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelAdvanceBookingWindow); ok {
return x.HotelAdvanceBookingWindow
}
return nil
}
func (m *AdGroupBidModifier) GetHotelLengthOfStay() *common.HotelLengthOfStayInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelLengthOfStay); ok {
return x.HotelLengthOfStay
}
return nil
}
func (m *AdGroupBidModifier) GetHotelCheckInDay() *common.HotelCheckInDayInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_HotelCheckInDay); ok {
return x.HotelCheckInDay
}
return nil
}
func (m *AdGroupBidModifier) GetDevice() *common.DeviceInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_Device); ok {
return x.Device
}
return nil
}
func (m *AdGroupBidModifier) GetPreferredContent() *common.PreferredContentInfo {
if x, ok := m.GetCriterion().(*AdGroupBidModifier_PreferredContent); ok {
return x.PreferredContent
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*AdGroupBidModifier) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*AdGroupBidModifier_HotelDateSelectionType)(nil),
(*AdGroupBidModifier_HotelAdvanceBookingWindow)(nil),
(*AdGroupBidModifier_HotelLengthOfStay)(nil),
(*AdGroupBidModifier_HotelCheckInDay)(nil),
(*AdGroupBidModifier_Device)(nil),
(*AdGroupBidModifier_PreferredContent)(nil),
}
}
func init() {
proto.RegisterType((*AdGroupBidModifier)(nil), "google.ads.googleads.v3.resources.AdGroupBidModifier")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/resources/ad_group_bid_modifier.proto", fileDescriptor_d9b50cb17f277d0c)
}
var fileDescriptor_d9b50cb17f277d0c = []byte{
// 794 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x6f, 0x6f, 0xdb, 0x44,
0x18, 0x27, 0x09, 0xed, 0xd6, 0x4b, 0x07, 0xd4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