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
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v1/resources/bidding_strategy.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/v1/common"
enums "google.golang.org/genproto/googleapis/ads/googleads/v1/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
// A bidding strategy.
type BiddingStrategy struct {
// Immutable. The resource name of the bidding strategy.
// Bidding strategy resource names have the form:
//
// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}`
ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
// Output only. The ID of the bidding strategy.
Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// The name of the bidding strategy.
// All bidding strategies within an account must be named distinctly.
//
// The length of this string should be between 1 and 255, inclusive,
// in UTF-8 bytes, (trimmed).
Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The status of the bidding strategy.
//
// This field is read-only.
Status enums.BiddingStrategyStatusEnum_BiddingStrategyStatus `protobuf:"varint,15,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.BiddingStrategyStatusEnum_BiddingStrategyStatus" json:"status,omitempty"`
// Output only. The type of the bidding strategy.
// Create a bidding strategy by setting the bidding scheme.
//
// This field is read-only.
Type enums.BiddingStrategyTypeEnum_BiddingStrategyType `protobuf:"varint,5,opt,name=type,proto3,enum=google.ads.googleads.v1.enums.BiddingStrategyTypeEnum_BiddingStrategyType" json:"type,omitempty"`
// Output only. The number of campaigns attached to this bidding strategy.
//
// This field is read-only.
CampaignCount *wrappers.Int64Value `protobuf:"bytes,13,opt,name=campaign_count,json=campaignCount,proto3" json:"campaign_count,omitempty"`
// Output only. The number of non-removed campaigns attached to this bidding strategy.
//
// This field is read-only.
NonRemovedCampaignCount *wrappers.Int64Value `protobuf:"bytes,14,opt,name=non_removed_campaign_count,json=nonRemovedCampaignCount,proto3" json:"non_removed_campaign_count,omitempty"`
// The bidding scheme.
//
// Only one can be set.
//
// Types that are valid to be assigned to Scheme:
// *BiddingStrategy_EnhancedCpc
// *BiddingStrategy_PageOnePromoted
// *BiddingStrategy_TargetCpa
// *BiddingStrategy_TargetImpressionShare
// *BiddingStrategy_TargetOutrankShare
// *BiddingStrategy_TargetRoas
// *BiddingStrategy_TargetSpend
Scheme isBiddingStrategy_Scheme `protobuf_oneof:"scheme"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *BiddingStrategy) Reset() { *m = BiddingStrategy{} }
func (m *BiddingStrategy) String() string { return proto.CompactTextString(m) }
func (*BiddingStrategy) ProtoMessage() {}
func (*BiddingStrategy) Descriptor() ([]byte, []int) {
return fileDescriptor_45db3d8386a3943d, []int{0}
}
func (m *BiddingStrategy) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BiddingStrategy.Unmarshal(m, b)
}
func (m *BiddingStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BiddingStrategy.Marshal(b, m, deterministic)
}
func (m *BiddingStrategy) XXX_Merge(src proto.Message) {
xxx_messageInfo_BiddingStrategy.Merge(m, src)
}
func (m *BiddingStrategy) XXX_Size() int {
return xxx_messageInfo_BiddingStrategy.Size(m)
}
func (m *BiddingStrategy) XXX_DiscardUnknown() {
xxx_messageInfo_BiddingStrategy.DiscardUnknown(m)
}
var xxx_messageInfo_BiddingStrategy proto.InternalMessageInfo
func (m *BiddingStrategy) GetResourceName() string {
if m != nil {
return m.ResourceName
}
return ""
}
func (m *BiddingStrategy) GetId() *wrappers.Int64Value {
if m != nil {
return m.Id
}
return nil
}
func (m *BiddingStrategy) GetName() *wrappers.StringValue {
if m != nil {
return m.Name
}
return nil
}
func (m *BiddingStrategy) GetStatus() enums.BiddingStrategyStatusEnum_BiddingStrategyStatus {
if m != nil {
return m.Status
}
return enums.BiddingStrategyStatusEnum_UNSPECIFIED
}
func (m *BiddingStrategy) GetType() enums.BiddingStrategyTypeEnum_BiddingStrategyType {
if m != nil {
return m.Type
}
return enums.BiddingStrategyTypeEnum_UNSPECIFIED
}
func (m *BiddingStrategy) GetCampaignCount() *wrappers.Int64Value {
if m != nil {
return m.CampaignCount
}
return nil
}
func (m *BiddingStrategy) GetNonRemovedCampaignCount() *wrappers.Int64Value {
if m != nil {
return m.NonRemovedCampaignCount
}
return nil
}
type isBiddingStrategy_Scheme interface {
isBiddingStrategy_Scheme()
}
type BiddingStrategy_EnhancedCpc struct {
EnhancedCpc *common.EnhancedCpc `protobuf:"bytes,7,opt,name=enhanced_cpc,json=enhancedCpc,proto3,oneof"`
}
type BiddingStrategy_PageOnePromoted struct {
PageOnePromoted *common.PageOnePromoted `protobuf:"bytes,8,opt,name=page_one_promoted,json=pageOnePromoted,proto3,oneof"`
}
type BiddingStrategy_TargetCpa struct {
TargetCpa *common.TargetCpa `protobuf:"bytes,9,opt,name=target_cpa,json=targetCpa,proto3,oneof"`
}
type BiddingStrategy_TargetImpressionShare struct {
TargetImpressionShare *common.TargetImpressionShare `protobuf:"bytes,48,opt,name=target_impression_share,json=targetImpressionShare,proto3,oneof"`
}
type BiddingStrategy_TargetOutrankShare struct {
TargetOutrankShare *common.TargetOutrankShare `protobuf:"bytes,10,opt,name=target_outrank_share,json=targetOutrankShare,proto3,oneof"`
}
type BiddingStrategy_TargetRoas struct {
TargetRoas *common.TargetRoas `protobuf:"bytes,11,opt,name=target_roas,json=targetRoas,proto3,oneof"`
}
type BiddingStrategy_TargetSpend struct {
TargetSpend *common.TargetSpend `protobuf:"bytes,12,opt,name=target_spend,json=targetSpend,proto3,oneof"`
}
func (*BiddingStrategy_EnhancedCpc) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_PageOnePromoted) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_TargetCpa) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_TargetImpressionShare) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_TargetOutrankShare) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_TargetRoas) isBiddingStrategy_Scheme() {}
func (*BiddingStrategy_TargetSpend) isBiddingStrategy_Scheme() {}
func (m *BiddingStrategy) GetScheme() isBiddingStrategy_Scheme {
if m != nil {
return m.Scheme
}
return nil
}
func (m *BiddingStrategy) GetEnhancedCpc() *common.EnhancedCpc {
if x, ok := m.GetScheme().(*BiddingStrategy_EnhancedCpc); ok {
return x.EnhancedCpc
}
return nil
}
func (m *BiddingStrategy) GetPageOnePromoted() *common.PageOnePromoted {
if x, ok := m.GetScheme().(*BiddingStrategy_PageOnePromoted); ok {
return x.PageOnePromoted
}
return nil
}
func (m *BiddingStrategy) GetTargetCpa() *common.TargetCpa {
if x, ok := m.GetScheme().(*BiddingStrategy_TargetCpa); ok {
return x.TargetCpa
}
return nil
}
func (m *BiddingStrategy) GetTargetImpressionShare() *common.TargetImpressionShare {
if x, ok := m.GetScheme().(*BiddingStrategy_TargetImpressionShare); ok {
return x.TargetImpressionShare
}
return nil
}
func (m *BiddingStrategy) GetTargetOutrankShare() *common.TargetOutrankShare {
if x, ok := m.GetScheme().(*BiddingStrategy_TargetOutrankShare); ok {
return x.TargetOutrankShare
}
return nil
}
func (m *BiddingStrategy) GetTargetRoas() *common.TargetRoas {
if x, ok := m.GetScheme().(*BiddingStrategy_TargetRoas); ok {
return x.TargetRoas
}
return nil
}
func (m *BiddingStrategy) GetTargetSpend() *common.TargetSpend {
if x, ok := m.GetScheme().(*BiddingStrategy_TargetSpend); ok {
return x.TargetSpend
}
return nil
}
// XXX_OneofWrappers is for the internal use of the proto package.
func (*BiddingStrategy) XXX_OneofWrappers() []interface{} {
return []interface{}{
(*BiddingStrategy_EnhancedCpc)(nil),
(*BiddingStrategy_PageOnePromoted)(nil),
(*BiddingStrategy_TargetCpa)(nil),
(*BiddingStrategy_TargetImpressionShare)(nil),
(*BiddingStrategy_TargetOutrankShare)(nil),
(*BiddingStrategy_TargetRoas)(nil),
(*BiddingStrategy_TargetSpend)(nil),
}
}
func init() {
proto.RegisterType((*BiddingStrategy)(nil), "google.ads.googleads.v1.resources.BiddingStrategy")
}
func init() {
proto.RegisterFile("google/ads/googleads/v1/resources/bidding_strategy.proto", fileDescriptor_45db3d8386a3943d)
}
var fileDescriptor_45db3d8386a3943d = []byte{
// 784 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xcb, 0x6e, 0xe3, 0x36,
0x14, 0x86, 0x7d, 0xc9, 0xa4, 0x13, 0x3a, 0x17, 0x54, 0x98, 0x62, 0xd4, 0x74, 0xd0, 0x66, 0x0a,
0x0c, 0xe0, 0x4e, 0x0b, 0xc9, 0x4e, 0x2f, 0xe8, 0x68, 0x56, 0xb2, 0x31, 0x88, 0x27, 0x40, 0x13,
0x43, 0x4e, 0xbd, 0x28, 0x1c, 0x08, 0xb4, 0x74, 0x22, 0x0b, 0xb1, 0x48, 0x82, 0xa4, 0x5c, 0x04,
0x41, 0x16, 0x7d, 0x95, 0x2e, 0xbb, 0xeb, 0x6b, 0xf4, 0x29, 0xb2, 0xce, 0x23, 0x74, 0x55, 0x88,
0xa2, 0xe4, 0xc4, 0x89, 0x1b, 0x67, 0x77, 0xa8, 0xf3, 0xff, 0xdf, 0x7f, 0x44, 0x51, 0x12, 0xfa,
0x39, 0xa2, 0x34, 0x9a, 0x82, 0x8d, 0x43, 0x61, 0xe7, 0x65, 0x56, 0xcd, 0xda, 0x36, 0x07, 0x41,
0x53, 0x1e, 0x80, 0xb0, 0xc7, 0x71, 0x18, 0xc6, 0x24, 0xf2, 0x85, 0xe4, 0x58, 0x42, 0x74, 0x61,
0x31, 0x4e, 0x25, 0x35, 0x5e, 0xe7, 0x72, 0x0b, 0x87, 0xc2, 0x2a, 0x9d, 0xd6, 0xac, 0x6d, 0x95,
0xce, 0xdd, 0xef, 0x96, 0xc1, 0x03, 0x9a, 0x24, 0x94, 0x14, 0xe4, 0x1c, 0xb8, 0xfb, 0x7e, 0x99,
0x1a, 0x48, 0x9a, 0xdc, 0x1f, 0xc3, 0x17, 0x12, 0xcb, 0x54, 0x68, 0xf3, 0xbb, 0x27, 0x9a, 0xe5,
0x05, 0x03, 0x6d, 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