1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/resources/keyword_plan_campaign.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 enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums" 13 _ "google.golang.org/genproto/googleapis/api/annotations" 14) 15 16// Reference imports to suppress errors if they are not otherwise used. 17var _ = proto.Marshal 18var _ = fmt.Errorf 19var _ = math.Inf 20 21// This is a compile-time assertion to ensure that this generated file 22// is compatible with the proto package it is being compiled against. 23// A compilation error at this line likely means your copy of the 24// proto package needs to be updated. 25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 26 27// A Keyword Plan campaign. 28// Max number of keyword plan campaigns per plan allowed: 1. 29type KeywordPlanCampaign struct { 30 // Immutable. The resource name of the Keyword Plan campaign. 31 // KeywordPlanCampaign resource names have the form: 32 // 33 // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` 34 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 35 // The keyword plan this campaign belongs to. 36 KeywordPlan *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"` 37 // Output only. The ID of the Keyword Plan campaign. 38 Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` 39 // The name of the Keyword Plan campaign. 40 // 41 // This field is required and should not be empty when creating Keyword Plan 42 // campaigns. 43 Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 44 // The languages targeted for the Keyword Plan campaign. 45 // Max allowed: 1. 46 LanguageConstants []*wrappers.StringValue `protobuf:"bytes,5,rep,name=language_constants,json=languageConstants,proto3" json:"language_constants,omitempty"` 47 // Targeting network. 48 // 49 // This field is required and should not be empty when creating Keyword Plan 50 // campaigns. 51 KeywordPlanNetwork enums.KeywordPlanNetworkEnum_KeywordPlanNetwork `protobuf:"varint,6,opt,name=keyword_plan_network,json=keywordPlanNetwork,proto3,enum=google.ads.googleads.v3.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork" json:"keyword_plan_network,omitempty"` 52 // A default max cpc bid in micros, and in the account currency, for all ad 53 // groups under the campaign. 54 // 55 // This field is required and should not be empty when creating Keyword Plan 56 // campaigns. 57 CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"` 58 // The geo targets. 59 // Max number allowed: 20. 60 GeoTargets []*KeywordPlanGeoTarget `protobuf:"bytes,8,rep,name=geo_targets,json=geoTargets,proto3" json:"geo_targets,omitempty"` 61 XXX_NoUnkeyedLiteral struct{} `json:"-"` 62 XXX_unrecognized []byte `json:"-"` 63 XXX_sizecache int32 `json:"-"` 64} 65 66func (m *KeywordPlanCampaign) Reset() { *m = KeywordPlanCampaign{} } 67func (m *KeywordPlanCampaign) String() string { return proto.CompactTextString(m) } 68func (*KeywordPlanCampaign) ProtoMessage() {} 69func (*KeywordPlanCampaign) Descriptor() ([]byte, []int) { 70 return fileDescriptor_17930fe29b1b9aff, []int{0} 71} 72 73func (m *KeywordPlanCampaign) XXX_Unmarshal(b []byte) error { 74 return xxx_messageInfo_KeywordPlanCampaign.Unmarshal(m, b) 75} 76func (m *KeywordPlanCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 77 return xxx_messageInfo_KeywordPlanCampaign.Marshal(b, m, deterministic) 78} 79func (m *KeywordPlanCampaign) XXX_Merge(src proto.Message) { 80 xxx_messageInfo_KeywordPlanCampaign.Merge(m, src) 81} 82func (m *KeywordPlanCampaign) XXX_Size() int { 83 return xxx_messageInfo_KeywordPlanCampaign.Size(m) 84} 85func (m *KeywordPlanCampaign) XXX_DiscardUnknown() { 86 xxx_messageInfo_KeywordPlanCampaign.DiscardUnknown(m) 87} 88 89var xxx_messageInfo_KeywordPlanCampaign proto.InternalMessageInfo 90 91func (m *KeywordPlanCampaign) GetResourceName() string { 92 if m != nil { 93 return m.ResourceName 94 } 95 return "" 96} 97 98func (m *KeywordPlanCampaign) GetKeywordPlan() *wrappers.StringValue { 99 if m != nil { 100 return m.KeywordPlan 101 } 102 return nil 103} 104 105func (m *KeywordPlanCampaign) GetId() *wrappers.Int64Value { 106 if m != nil { 107 return m.Id 108 } 109 return nil 110} 111 112func (m *KeywordPlanCampaign) GetName() *wrappers.StringValue { 113 if m != nil { 114 return m.Name 115 } 116 return nil 117} 118 119func (m *KeywordPlanCampaign) GetLanguageConstants() []*wrappers.StringValue { 120 if m != nil { 121 return m.LanguageConstants 122 } 123 return nil 124} 125 126func (m *KeywordPlanCampaign) GetKeywordPlanNetwork() enums.KeywordPlanNetworkEnum_KeywordPlanNetwork { 127 if m != nil { 128 return m.KeywordPlanNetwork 129 } 130 return enums.KeywordPlanNetworkEnum_UNSPECIFIED 131} 132 133func (m *KeywordPlanCampaign) GetCpcBidMicros() *wrappers.Int64Value { 134 if m != nil { 135 return m.CpcBidMicros 136 } 137 return nil 138} 139 140func (m *KeywordPlanCampaign) GetGeoTargets() []*KeywordPlanGeoTarget { 141 if m != nil { 142 return m.GeoTargets 143 } 144 return nil 145} 146 147// A geo target. 148// Next ID: 3 149type KeywordPlanGeoTarget struct { 150 // Required. The resource name of the geo target. 151 GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"` 152 XXX_NoUnkeyedLiteral struct{} `json:"-"` 153 XXX_unrecognized []byte `json:"-"` 154 XXX_sizecache int32 `json:"-"` 155} 156 157func (m *KeywordPlanGeoTarget) Reset() { *m = KeywordPlanGeoTarget{} } 158func (m *KeywordPlanGeoTarget) String() string { return proto.CompactTextString(m) } 159func (*KeywordPlanGeoTarget) ProtoMessage() {} 160func (*KeywordPlanGeoTarget) Descriptor() ([]byte, []int) { 161 return fileDescriptor_17930fe29b1b9aff, []int{1} 162} 163 164func (m *KeywordPlanGeoTarget) XXX_Unmarshal(b []byte) error { 165 return xxx_messageInfo_KeywordPlanGeoTarget.Unmarshal(m, b) 166} 167func (m *KeywordPlanGeoTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 168 return xxx_messageInfo_KeywordPlanGeoTarget.Marshal(b, m, deterministic) 169} 170func (m *KeywordPlanGeoTarget) XXX_Merge(src proto.Message) { 171 xxx_messageInfo_KeywordPlanGeoTarget.Merge(m, src) 172} 173func (m *KeywordPlanGeoTarget) XXX_Size() int { 174 return xxx_messageInfo_KeywordPlanGeoTarget.Size(m) 175} 176func (m *KeywordPlanGeoTarget) XXX_DiscardUnknown() { 177 xxx_messageInfo_KeywordPlanGeoTarget.DiscardUnknown(m) 178} 179 180var xxx_messageInfo_KeywordPlanGeoTarget proto.InternalMessageInfo 181 182func (m *KeywordPlanGeoTarget) GetGeoTargetConstant() *wrappers.StringValue { 183 if m != nil { 184 return m.GeoTargetConstant 185 } 186 return nil 187} 188 189func init() { 190 proto.RegisterType((*KeywordPlanCampaign)(nil), "google.ads.googleads.v3.resources.KeywordPlanCampaign") 191 proto.RegisterType((*KeywordPlanGeoTarget)(nil), "google.ads.googleads.v3.resources.KeywordPlanGeoTarget") 192} 193 194func init() { 195 proto.RegisterFile("google/ads/googleads/v3/resources/keyword_plan_campaign.proto", fileDescriptor_17930fe29b1b9aff) 196} 197 198var fileDescriptor_17930fe29b1b9aff = []byte{ 199 // 643 bytes of a gzipped FileDescriptorProto 200 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdf, 0x4e, 0xd4, 0x4e, 201 0x14, 0xce, 0x76, 0x81, 0xdf, 0xcf, 0x01, 0x49, 0x1c, 0xb8, 0xa8, 0x48, 0x74, 0x21, 0x62, 0x40, 202 0xc9, 0x0c, 0x61, 0x89, 0x9a, 0x1a, 0x2f, 0x66,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d, 236 0x8f, 0x90, 0x1f, 0xc6, 0xca, 0x5e, 0xd6, 0x92, 0x78, 0x1a, 0x65, 0xe1, 0x20, 0x6a, 0x37, 0x91, 237 0x5d, 0x20, 0x7f, 0x16, 0x98, 0x0e, 0xf1, 0x74, 0xa7, 0xc4, 0x74, 0xda, 0xcd, 0x4e, 0x89, 0x39, 238 0x37, 0xd6, 0xb2, 0x82, 0x65, 0x11, 0x4f, 0x5b, 0x56, 0x89, 0xb2, 0xac, 0x76, 0xd3, 0xb2, 0x4a, 239 0x5c, 0x77, 0x26, 0x15, 0xdb, 0xfc, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x84, 0x56, 0x82, 0x7a, 0x0d, 240 0x06, 0x00, 0x00, 241} 242