forked from googleapis/java-spanner
/
bidding.pb.go
759 lines (690 loc) · 33.2 KB
/
bidding.pb.go
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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/common/bidding.proto
package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/common"
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
// An automated bidding strategy that raises bids for clicks
// that seem more likely to lead to a conversion and lowers
// them for clicks where they seem less likely.
type EnhancedCpc struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EnhancedCpc) Reset() { *m = EnhancedCpc{} }
func (m *EnhancedCpc) String() string { return proto.CompactTextString(m) }
func (*EnhancedCpc) ProtoMessage() {}
func (*EnhancedCpc) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{0}
}
func (m *EnhancedCpc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EnhancedCpc.Unmarshal(m, b)
}
func (m *EnhancedCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EnhancedCpc.Marshal(b, m, deterministic)
}
func (dst *EnhancedCpc) XXX_Merge(src proto.Message) {
xxx_messageInfo_EnhancedCpc.Merge(dst, src)
}
func (m *EnhancedCpc) XXX_Size() int {
return xxx_messageInfo_EnhancedCpc.Size(m)
}
func (m *EnhancedCpc) XXX_DiscardUnknown() {
xxx_messageInfo_EnhancedCpc.DiscardUnknown(m)
}
var xxx_messageInfo_EnhancedCpc proto.InternalMessageInfo
// Manual click-based bidding where user pays per click.
type ManualCpc struct {
// Whether bids are to be enhanced based on conversion optimizer data.
EnhancedCpcEnabled *wrappers.BoolValue `protobuf:"bytes,1,opt,name=enhanced_cpc_enabled,json=enhancedCpcEnabled,proto3" json:"enhanced_cpc_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualCpc) Reset() { *m = ManualCpc{} }
func (m *ManualCpc) String() string { return proto.CompactTextString(m) }
func (*ManualCpc) ProtoMessage() {}
func (*ManualCpc) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{1}
}
func (m *ManualCpc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualCpc.Unmarshal(m, b)
}
func (m *ManualCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualCpc.Marshal(b, m, deterministic)
}
func (dst *ManualCpc) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualCpc.Merge(dst, src)
}
func (m *ManualCpc) XXX_Size() int {
return xxx_messageInfo_ManualCpc.Size(m)
}
func (m *ManualCpc) XXX_DiscardUnknown() {
xxx_messageInfo_ManualCpc.DiscardUnknown(m)
}
var xxx_messageInfo_ManualCpc proto.InternalMessageInfo
func (m *ManualCpc) GetEnhancedCpcEnabled() *wrappers.BoolValue {
if m != nil {
return m.EnhancedCpcEnabled
}
return nil
}
// Manual impression-based bidding where user pays per thousand impressions.
type ManualCpm struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualCpm) Reset() { *m = ManualCpm{} }
func (m *ManualCpm) String() string { return proto.CompactTextString(m) }
func (*ManualCpm) ProtoMessage() {}
func (*ManualCpm) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{2}
}
func (m *ManualCpm) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualCpm.Unmarshal(m, b)
}
func (m *ManualCpm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualCpm.Marshal(b, m, deterministic)
}
func (dst *ManualCpm) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualCpm.Merge(dst, src)
}
func (m *ManualCpm) XXX_Size() int {
return xxx_messageInfo_ManualCpm.Size(m)
}
func (m *ManualCpm) XXX_DiscardUnknown() {
xxx_messageInfo_ManualCpm.DiscardUnknown(m)
}
var xxx_messageInfo_ManualCpm proto.InternalMessageInfo
// View based bidding where user pays per video view.
type ManualCpv struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ManualCpv) Reset() { *m = ManualCpv{} }
func (m *ManualCpv) String() string { return proto.CompactTextString(m) }
func (*ManualCpv) ProtoMessage() {}
func (*ManualCpv) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{3}
}
func (m *ManualCpv) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ManualCpv.Unmarshal(m, b)
}
func (m *ManualCpv) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ManualCpv.Marshal(b, m, deterministic)
}
func (dst *ManualCpv) XXX_Merge(src proto.Message) {
xxx_messageInfo_ManualCpv.Merge(dst, src)
}
func (m *ManualCpv) XXX_Size() int {
return xxx_messageInfo_ManualCpv.Size(m)
}
func (m *ManualCpv) XXX_DiscardUnknown() {
xxx_messageInfo_ManualCpv.DiscardUnknown(m)
}
var xxx_messageInfo_ManualCpv proto.InternalMessageInfo
// An automated bidding strategy that sets bids to help get the most conversions
// for your campaign while spending your budget.
type MaximizeConversions struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MaximizeConversions) Reset() { *m = MaximizeConversions{} }
func (m *MaximizeConversions) String() string { return proto.CompactTextString(m) }
func (*MaximizeConversions) ProtoMessage() {}
func (*MaximizeConversions) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{4}
}
func (m *MaximizeConversions) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MaximizeConversions.Unmarshal(m, b)
}
func (m *MaximizeConversions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MaximizeConversions.Marshal(b, m, deterministic)
}
func (dst *MaximizeConversions) XXX_Merge(src proto.Message) {
xxx_messageInfo_MaximizeConversions.Merge(dst, src)
}
func (m *MaximizeConversions) XXX_Size() int {
return xxx_messageInfo_MaximizeConversions.Size(m)
}
func (m *MaximizeConversions) XXX_DiscardUnknown() {
xxx_messageInfo_MaximizeConversions.DiscardUnknown(m)
}
var xxx_messageInfo_MaximizeConversions proto.InternalMessageInfo
// An automated bidding strategy which tries to maximize conversion value
// given a daily budget.
type MaximizeConversionValue struct {
// The target return on ad spend (ROAS) option. If set, the bid strategy will
// maximize revenue while averaging the target return on ad spend. If the
// target ROAS is high, the bid strategy may not be able to spend the full
// budget. If the target ROAS is not set, the bid strategy will aim to
// achieve the highest possible ROAS for the budget.
TargetRoas *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MaximizeConversionValue) Reset() { *m = MaximizeConversionValue{} }
func (m *MaximizeConversionValue) String() string { return proto.CompactTextString(m) }
func (*MaximizeConversionValue) ProtoMessage() {}
func (*MaximizeConversionValue) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{5}
}
func (m *MaximizeConversionValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MaximizeConversionValue.Unmarshal(m, b)
}
func (m *MaximizeConversionValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MaximizeConversionValue.Marshal(b, m, deterministic)
}
func (dst *MaximizeConversionValue) XXX_Merge(src proto.Message) {
xxx_messageInfo_MaximizeConversionValue.Merge(dst, src)
}
func (m *MaximizeConversionValue) XXX_Size() int {
return xxx_messageInfo_MaximizeConversionValue.Size(m)
}
func (m *MaximizeConversionValue) XXX_DiscardUnknown() {
xxx_messageInfo_MaximizeConversionValue.DiscardUnknown(m)
}
var xxx_messageInfo_MaximizeConversionValue proto.InternalMessageInfo
func (m *MaximizeConversionValue) GetTargetRoas() *wrappers.DoubleValue {
if m != nil {
return m.TargetRoas
}
return nil
}
// An automated bidding strategy which sets CPC bids to target impressions on
// page one, or page one promoted slots on google.com.
type PageOnePromoted struct {
// The strategy goal of where impressions are desired to be shown on
// search result pages.
StrategyGoal enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal `protobuf:"varint,1,opt,name=strategy_goal,json=strategyGoal,proto3,enum=google.ads.googleads.v0.enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal" json:"strategy_goal,omitempty"`
// Maximum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
// Bid multiplier to be applied to the relevant bid estimate (depending on
// the `strategy_goal`) in determining a keyword's new CPC bid.
BidModifier *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=bid_modifier,json=bidModifier,proto3" json:"bid_modifier,omitempty"`
// Whether the strategy should always follow bid estimate changes, or only
// increase.
// If false, always sets a keyword's new bid to the current bid estimate.
// If true, only updates a keyword's bid if the current bid estimate is
// greater than the current bid.
OnlyRaiseCpcBids *wrappers.BoolValue `protobuf:"bytes,4,opt,name=only_raise_cpc_bids,json=onlyRaiseCpcBids,proto3" json:"only_raise_cpc_bids,omitempty"`
// Whether the strategy is allowed to raise bids when the throttling
// rate of the budget it is serving out of rises above a threshold.
RaiseCpcBidWhenBudgetConstrained *wrappers.BoolValue `protobuf:"bytes,5,opt,name=raise_cpc_bid_when_budget_constrained,json=raiseCpcBidWhenBudgetConstrained,proto3" json:"raise_cpc_bid_when_budget_constrained,omitempty"`
// Whether the strategy is allowed to raise bids on keywords with
// lower-range quality scores.
RaiseCpcBidWhenQualityScoreIsLow *wrappers.BoolValue `protobuf:"bytes,6,opt,name=raise_cpc_bid_when_quality_score_is_low,json=raiseCpcBidWhenQualityScoreIsLow,proto3" json:"raise_cpc_bid_when_quality_score_is_low,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PageOnePromoted) Reset() { *m = PageOnePromoted{} }
func (m *PageOnePromoted) String() string { return proto.CompactTextString(m) }
func (*PageOnePromoted) ProtoMessage() {}
func (*PageOnePromoted) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{6}
}
func (m *PageOnePromoted) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PageOnePromoted.Unmarshal(m, b)
}
func (m *PageOnePromoted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PageOnePromoted.Marshal(b, m, deterministic)
}
func (dst *PageOnePromoted) XXX_Merge(src proto.Message) {
xxx_messageInfo_PageOnePromoted.Merge(dst, src)
}
func (m *PageOnePromoted) XXX_Size() int {
return xxx_messageInfo_PageOnePromoted.Size(m)
}
func (m *PageOnePromoted) XXX_DiscardUnknown() {
xxx_messageInfo_PageOnePromoted.DiscardUnknown(m)
}
var xxx_messageInfo_PageOnePromoted proto.InternalMessageInfo
func (m *PageOnePromoted) GetStrategyGoal() enums.PageOnePromotedStrategyGoalEnum_PageOnePromotedStrategyGoal {
if m != nil {
return m.StrategyGoal
}
return enums.PageOnePromotedStrategyGoalEnum_UNSPECIFIED
}
func (m *PageOnePromoted) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
func (m *PageOnePromoted) GetBidModifier() *wrappers.DoubleValue {
if m != nil {
return m.BidModifier
}
return nil
}
func (m *PageOnePromoted) GetOnlyRaiseCpcBids() *wrappers.BoolValue {
if m != nil {
return m.OnlyRaiseCpcBids
}
return nil
}
func (m *PageOnePromoted) GetRaiseCpcBidWhenBudgetConstrained() *wrappers.BoolValue {
if m != nil {
return m.RaiseCpcBidWhenBudgetConstrained
}
return nil
}
func (m *PageOnePromoted) GetRaiseCpcBidWhenQualityScoreIsLow() *wrappers.BoolValue {
if m != nil {
return m.RaiseCpcBidWhenQualityScoreIsLow
}
return nil
}
// An automated bid strategy that sets bids to help get as many conversions as
// possible at the target cost-per-acquisition (CPA) you set.
type TargetCpa struct {
// Average CPA target.
// This target should be greater than or equal to minimum billable unit based
// on the currency for the account.
TargetCpaMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_cpa_micros,json=targetCpaMicros,proto3" json:"target_cpa_micros,omitempty"`
// Maximum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
// Minimum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidFloorMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_floor_micros,json=cpcBidFloorMicros,proto3" json:"cpc_bid_floor_micros,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetCpa) Reset() { *m = TargetCpa{} }
func (m *TargetCpa) String() string { return proto.CompactTextString(m) }
func (*TargetCpa) ProtoMessage() {}
func (*TargetCpa) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{7}
}
func (m *TargetCpa) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetCpa.Unmarshal(m, b)
}
func (m *TargetCpa) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetCpa.Marshal(b, m, deterministic)
}
func (dst *TargetCpa) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetCpa.Merge(dst, src)
}
func (m *TargetCpa) XXX_Size() int {
return xxx_messageInfo_TargetCpa.Size(m)
}
func (m *TargetCpa) XXX_DiscardUnknown() {
xxx_messageInfo_TargetCpa.DiscardUnknown(m)
}
var xxx_messageInfo_TargetCpa proto.InternalMessageInfo
func (m *TargetCpa) GetTargetCpaMicros() *wrappers.Int64Value {
if m != nil {
return m.TargetCpaMicros
}
return nil
}
func (m *TargetCpa) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
func (m *TargetCpa) GetCpcBidFloorMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidFloorMicros
}
return nil
}
// Target CPM (cost per thousand impressions) is an automated bidding strategy
// that sets bids to optimize performance given the target CPM you set.
type TargetCpm struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetCpm) Reset() { *m = TargetCpm{} }
func (m *TargetCpm) String() string { return proto.CompactTextString(m) }
func (*TargetCpm) ProtoMessage() {}
func (*TargetCpm) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{8}
}
func (m *TargetCpm) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetCpm.Unmarshal(m, b)
}
func (m *TargetCpm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetCpm.Marshal(b, m, deterministic)
}
func (dst *TargetCpm) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetCpm.Merge(dst, src)
}
func (m *TargetCpm) XXX_Size() int {
return xxx_messageInfo_TargetCpm.Size(m)
}
func (m *TargetCpm) XXX_DiscardUnknown() {
xxx_messageInfo_TargetCpm.DiscardUnknown(m)
}
var xxx_messageInfo_TargetCpm proto.InternalMessageInfo
// An automated bidding strategy that sets bids based on the target fraction of
// auctions where the advertiser should outrank a specific competitor.
type TargetOutrankShare struct {
// The target fraction of auctions where the advertiser should outrank the
// competitor.
// The advertiser outranks the competitor in an auction if either the
// advertiser appears above the competitor in the search results, or appears
// in the search results when the competitor does not.
// Value must be between 1 and 1000000, inclusive.
TargetOutrankShareMicros *wrappers.Int32Value `protobuf:"bytes,1,opt,name=target_outrank_share_micros,json=targetOutrankShareMicros,proto3" json:"target_outrank_share_micros,omitempty"`
// Competitor's visible domain URL.
CompetitorDomain *wrappers.StringValue `protobuf:"bytes,2,opt,name=competitor_domain,json=competitorDomain,proto3" json:"competitor_domain,omitempty"`
// Maximum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
// Whether the strategy should always follow bid estimate changes,
// or only increase.
// If false, always set a keyword's new bid to the current bid estimate.
// If true, only updates a keyword's bid if the current bid estimate is
// greater than the current bid.
OnlyRaiseCpcBids *wrappers.BoolValue `protobuf:"bytes,4,opt,name=only_raise_cpc_bids,json=onlyRaiseCpcBids,proto3" json:"only_raise_cpc_bids,omitempty"`
// Whether the strategy is allowed to raise bids on keywords with
// lower-range quality scores.
RaiseCpcBidWhenQualityScoreIsLow *wrappers.BoolValue `protobuf:"bytes,5,opt,name=raise_cpc_bid_when_quality_score_is_low,json=raiseCpcBidWhenQualityScoreIsLow,proto3" json:"raise_cpc_bid_when_quality_score_is_low,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetOutrankShare) Reset() { *m = TargetOutrankShare{} }
func (m *TargetOutrankShare) String() string { return proto.CompactTextString(m) }
func (*TargetOutrankShare) ProtoMessage() {}
func (*TargetOutrankShare) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{9}
}
func (m *TargetOutrankShare) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetOutrankShare.Unmarshal(m, b)
}
func (m *TargetOutrankShare) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetOutrankShare.Marshal(b, m, deterministic)
}
func (dst *TargetOutrankShare) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetOutrankShare.Merge(dst, src)
}
func (m *TargetOutrankShare) XXX_Size() int {
return xxx_messageInfo_TargetOutrankShare.Size(m)
}
func (m *TargetOutrankShare) XXX_DiscardUnknown() {
xxx_messageInfo_TargetOutrankShare.DiscardUnknown(m)
}
var xxx_messageInfo_TargetOutrankShare proto.InternalMessageInfo
func (m *TargetOutrankShare) GetTargetOutrankShareMicros() *wrappers.Int32Value {
if m != nil {
return m.TargetOutrankShareMicros
}
return nil
}
func (m *TargetOutrankShare) GetCompetitorDomain() *wrappers.StringValue {
if m != nil {
return m.CompetitorDomain
}
return nil
}
func (m *TargetOutrankShare) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
func (m *TargetOutrankShare) GetOnlyRaiseCpcBids() *wrappers.BoolValue {
if m != nil {
return m.OnlyRaiseCpcBids
}
return nil
}
func (m *TargetOutrankShare) GetRaiseCpcBidWhenQualityScoreIsLow() *wrappers.BoolValue {
if m != nil {
return m.RaiseCpcBidWhenQualityScoreIsLow
}
return nil
}
// An automated bidding strategy that helps you maximize revenue while
// averaging a specific target return on ad spend (ROAS).
type TargetRoas struct {
// Required. The desired revenue (based on conversion data) per unit of spend.
// Value must be between 0.01 and 1000.0, inclusive.
TargetRoas *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=target_roas,json=targetRoas,proto3" json:"target_roas,omitempty"`
// Maximum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
// Minimum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidFloorMicros *wrappers.Int64Value `protobuf:"bytes,3,opt,name=cpc_bid_floor_micros,json=cpcBidFloorMicros,proto3" json:"cpc_bid_floor_micros,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetRoas) Reset() { *m = TargetRoas{} }
func (m *TargetRoas) String() string { return proto.CompactTextString(m) }
func (*TargetRoas) ProtoMessage() {}
func (*TargetRoas) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{10}
}
func (m *TargetRoas) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetRoas.Unmarshal(m, b)
}
func (m *TargetRoas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetRoas.Marshal(b, m, deterministic)
}
func (dst *TargetRoas) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetRoas.Merge(dst, src)
}
func (m *TargetRoas) XXX_Size() int {
return xxx_messageInfo_TargetRoas.Size(m)
}
func (m *TargetRoas) XXX_DiscardUnknown() {
xxx_messageInfo_TargetRoas.DiscardUnknown(m)
}
var xxx_messageInfo_TargetRoas proto.InternalMessageInfo
func (m *TargetRoas) GetTargetRoas() *wrappers.DoubleValue {
if m != nil {
return m.TargetRoas
}
return nil
}
func (m *TargetRoas) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
func (m *TargetRoas) GetCpcBidFloorMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidFloorMicros
}
return nil
}
// An automated bid strategy that sets your bids to help get as many clicks
// as possible within your budget.
type TargetSpend struct {
// The spend target under which to maximize clicks.
// A TargetSpend bidder will attempt to spend the smaller of this value
// or the natural throttling spend amount.
// If not specified, the budget is used as the spend target.
TargetSpendMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=target_spend_micros,json=targetSpendMicros,proto3" json:"target_spend_micros,omitempty"`
// Maximum bid limit that can be set by the bid strategy.
// The limit applies to all keywords managed by the strategy.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,2,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TargetSpend) Reset() { *m = TargetSpend{} }
func (m *TargetSpend) String() string { return proto.CompactTextString(m) }
func (*TargetSpend) ProtoMessage() {}
func (*TargetSpend) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{11}
}
func (m *TargetSpend) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_TargetSpend.Unmarshal(m, b)
}
func (m *TargetSpend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_TargetSpend.Marshal(b, m, deterministic)
}
func (dst *TargetSpend) XXX_Merge(src proto.Message) {
xxx_messageInfo_TargetSpend.Merge(dst, src)
}
func (m *TargetSpend) XXX_Size() int {
return xxx_messageInfo_TargetSpend.Size(m)
}
func (m *TargetSpend) XXX_DiscardUnknown() {
xxx_messageInfo_TargetSpend.DiscardUnknown(m)
}
var xxx_messageInfo_TargetSpend proto.InternalMessageInfo
func (m *TargetSpend) GetTargetSpendMicros() *wrappers.Int64Value {
if m != nil {
return m.TargetSpendMicros
}
return nil
}
func (m *TargetSpend) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
// A bidding strategy where bids are a fraction of the advertised price for
// some good or service.
type PercentCpc struct {
// Maximum bid limit that can be set by the bid strategy. This is
// an optional field entered by the advertiser and specified in local micros.
// Note: A zero value is interpreted in the same way as having bid_ceiling
// undefined.
CpcBidCeilingMicros *wrappers.Int64Value `protobuf:"bytes,1,opt,name=cpc_bid_ceiling_micros,json=cpcBidCeilingMicros,proto3" json:"cpc_bid_ceiling_micros,omitempty"`
// Adjusts the bid for each auction upward or downward, depending on the
// likelihood of a conversion. Individual bids may exceed
// cpc_bid_ceiling_micros, but the average bid amount for a campaign should
// not.
EnhancedCpcEnabled *wrappers.BoolValue `protobuf:"bytes,2,opt,name=enhanced_cpc_enabled,json=enhancedCpcEnabled,proto3" json:"enhanced_cpc_enabled,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PercentCpc) Reset() { *m = PercentCpc{} }
func (m *PercentCpc) String() string { return proto.CompactTextString(m) }
func (*PercentCpc) ProtoMessage() {}
func (*PercentCpc) Descriptor() ([]byte, []int) {
return fileDescriptor_bidding_0c8c284ee3a7b4a4, []int{12}
}
func (m *PercentCpc) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PercentCpc.Unmarshal(m, b)
}
func (m *PercentCpc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PercentCpc.Marshal(b, m, deterministic)
}
func (dst *PercentCpc) XXX_Merge(src proto.Message) {
xxx_messageInfo_PercentCpc.Merge(dst, src)
}
func (m *PercentCpc) XXX_Size() int {
return xxx_messageInfo_PercentCpc.Size(m)
}
func (m *PercentCpc) XXX_DiscardUnknown() {
xxx_messageInfo_PercentCpc.DiscardUnknown(m)
}
var xxx_messageInfo_PercentCpc proto.InternalMessageInfo
func (m *PercentCpc) GetCpcBidCeilingMicros() *wrappers.Int64Value {
if m != nil {
return m.CpcBidCeilingMicros
}
return nil
}
func (m *PercentCpc) GetEnhancedCpcEnabled() *wrappers.BoolValue {
if m != nil {
return m.EnhancedCpcEnabled
}
return nil
}
func init() {
proto.RegisterType((*EnhancedCpc)(nil), "google.ads.googleads.v0.common.EnhancedCpc")
proto.RegisterType((*ManualCpc)(nil), "google.ads.googleads.v0.common.ManualCpc")
proto.RegisterType((*ManualCpm)(nil), "google.ads.googleads.v0.common.ManualCpm")
proto.RegisterType((*ManualCpv)(nil), "google.ads.googleads.v0.common.ManualCpv")
proto.RegisterType((*MaximizeConversions)(nil), "google.ads.googleads.v0.common.MaximizeConversions")
proto.RegisterType((*MaximizeConversionValue)(nil), "google.ads.googleads.v0.common.MaximizeConversionValue")
proto.RegisterType((*PageOnePromoted)(nil), "google.ads.googleads.v0.common.PageOnePromoted")
proto.RegisterType((*TargetCpa)(nil), "google.ads.googleads.v0.common.TargetCpa")
proto.RegisterType((*TargetCpm)(nil), "google.ads.googleads.v0.common.TargetCpm")
proto.RegisterType((*TargetOutrankShare)(nil), "google.ads.googleads.v0.common.TargetOutrankShare")
proto.RegisterType((*TargetRoas)(nil), "google.ads.googleads.v0.common.TargetRoas")
proto.RegisterType((*TargetSpend)(nil), "google.ads.googleads.v0.common.TargetSpend")
proto.RegisterType((*PercentCpc)(nil), "google.ads.googleads.v0.common.PercentCpc")
}
func init() {
proto.RegisterFile("google/ads/googleads/v0/common/bidding.proto", fileDescriptor_bidding_0c8c284ee3a7b4a4)
}
var fileDescriptor_bidding_0c8c284ee3a7b4a4 = []byte{
// 831 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x96, 0x6f, 0x6b, 0x1c, 0x45,
0x18, 0xc0, 0xd9, 0xbb, 0xb6, 0xd0, 0xb9, 0xd4, 0x9a, 0x4d, 0xd5, 0x23, 0x95, 0x52, 0x16, 0x44,
0x5f, 0xc8, 0xde, 0x91, 0x8a, 0x2f, 0x4e, 0x44, 0xee, 0x36, 0x31, 0x04, 0x13, 0x7a, 0xe6, 0x4a,
0xd4, 0x10, 0x18, 0x66, 0x67, 0x9e, 0x6c, 0x86, 0xee, 0xce, 0xb3, 0xce, 0xec, 0x26, 0xc6, 0x37,
0x7e, 0x17, 0x5f, 0x8a, 0xdf, 0x43, 0x10, 0xbf, 0x87, 0xa0, 0x6f, 0xfd, 0x00, 0x32, 0x3b, 0xb3,
0xb9, 0xd6, 0x6b, 0x92, 0x26, 0x46, 0xf0, 0xd5, 0xce, 0x9f, 0xe7, 0xf9, 0x3d, 0x7f, 0x67, 0x67,
0xc8, 0x87, 0x19, 0x62, 0x96, 0xc3, 0x80, 0x09, 0x33, 0x70, 0x43, 0x3b, 0x3a, 0x1e, 0x0e, 0x38,
0x16, 0x05, 0xaa, 0x41, 0x2a, 0x85, 0x90, 0x2a, 0x8b, 0x4b, 0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