You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

227 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/resources/keyword_plan_campaign.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // A Keyword Plan campaign.
  19. // Max number of keyword plan campaigns per plan allowed: 1.
  20. type KeywordPlanCampaign struct {
  21. // The resource name of the Keyword Plan campaign.
  22. // KeywordPlanCampaign resource names have the form:
  23. //
  24. // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // The keyword plan this campaign belongs to.
  27. KeywordPlan *wrappers.StringValue `protobuf:"bytes,2,opt,name=keyword_plan,json=keywordPlan,proto3" json:"keyword_plan,omitempty"`
  28. // The ID of the Keyword Plan campaign.
  29. Id *wrappers.Int64Value `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
  30. // The name of the Keyword Plan campaign.
  31. //
  32. // This field is required and should not be empty when creating Keyword Plan
  33. // campaigns.
  34. Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
  35. // The languages targeted for the Keyword Plan campaign.
  36. // Max allowed: 1.
  37. LanguageConstants []*wrappers.StringValue `protobuf:"bytes,5,rep,name=language_constants,json=languageConstants,proto3" json:"language_constants,omitempty"`
  38. // Targeting network.
  39. //
  40. // This field is required and should not be empty when creating Keyword Plan
  41. // campaigns.
  42. KeywordPlanNetwork enums.KeywordPlanNetworkEnum_KeywordPlanNetwork `protobuf:"varint,6,opt,name=keyword_plan_network,json=keywordPlanNetwork,proto3,enum=google.ads.googleads.v0.enums.KeywordPlanNetworkEnum_KeywordPlanNetwork" json:"keyword_plan_network,omitempty"`
  43. // A default max cpc bid in micros, and in the account currency, for all ad
  44. // groups under the campaign.
  45. //
  46. // This field is required and should not be empty when creating Keyword Plan
  47. // campaigns.
  48. CpcBidMicros *wrappers.Int64Value `protobuf:"bytes,7,opt,name=cpc_bid_micros,json=cpcBidMicros,proto3" json:"cpc_bid_micros,omitempty"`
  49. // The geo targets.
  50. // Max number allowed: 20.
  51. GeoTargets []*KeywordPlanGeoTarget `protobuf:"bytes,8,rep,name=geo_targets,json=geoTargets,proto3" json:"geo_targets,omitempty"`
  52. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  53. XXX_unrecognized []byte `json:"-"`
  54. XXX_sizecache int32 `json:"-"`
  55. }
  56. func (m *KeywordPlanCampaign) Reset() { *m = KeywordPlanCampaign{} }
  57. func (m *KeywordPlanCampaign) String() string { return proto.CompactTextString(m) }
  58. func (*KeywordPlanCampaign) ProtoMessage() {}
  59. func (*KeywordPlanCampaign) Descriptor() ([]byte, []int) {
  60. return fileDescriptor_keyword_plan_campaign_601a4f8c7129cc37, []int{0}
  61. }
  62. func (m *KeywordPlanCampaign) XXX_Unmarshal(b []byte) error {
  63. return xxx_messageInfo_KeywordPlanCampaign.Unmarshal(m, b)
  64. }
  65. func (m *KeywordPlanCampaign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  66. return xxx_messageInfo_KeywordPlanCampaign.Marshal(b, m, deterministic)
  67. }
  68. func (dst *KeywordPlanCampaign) XXX_Merge(src proto.Message) {
  69. xxx_messageInfo_KeywordPlanCampaign.Merge(dst, src)
  70. }
  71. func (m *KeywordPlanCampaign) XXX_Size() int {
  72. return xxx_messageInfo_KeywordPlanCampaign.Size(m)
  73. }
  74. func (m *KeywordPlanCampaign) XXX_DiscardUnknown() {
  75. xxx_messageInfo_KeywordPlanCampaign.DiscardUnknown(m)
  76. }
  77. var xxx_messageInfo_KeywordPlanCampaign proto.InternalMessageInfo
  78. func (m *KeywordPlanCampaign) GetResourceName() string {
  79. if m != nil {
  80. return m.ResourceName
  81. }
  82. return ""
  83. }
  84. func (m *KeywordPlanCampaign) GetKeywordPlan() *wrappers.StringValue {
  85. if m != nil {
  86. return m.KeywordPlan
  87. }
  88. return nil
  89. }
  90. func (m *KeywordPlanCampaign) GetId() *wrappers.Int64Value {
  91. if m != nil {
  92. return m.Id
  93. }
  94. return nil
  95. }
  96. func (m *KeywordPlanCampaign) GetName() *wrappers.StringValue {
  97. if m != nil {
  98. return m.Name
  99. }
  100. return nil
  101. }
  102. func (m *KeywordPlanCampaign) GetLanguageConstants() []*wrappers.StringValue {
  103. if m != nil {
  104. return m.LanguageConstants
  105. }
  106. return nil
  107. }
  108. func (m *KeywordPlanCampaign) GetKeywordPlanNetwork() enums.KeywordPlanNetworkEnum_KeywordPlanNetwork {
  109. if m != nil {
  110. return m.KeywordPlanNetwork
  111. }
  112. return enums.KeywordPlanNetworkEnum_UNSPECIFIED
  113. }
  114. func (m *KeywordPlanCampaign) GetCpcBidMicros() *wrappers.Int64Value {
  115. if m != nil {
  116. return m.CpcBidMicros
  117. }
  118. return nil
  119. }
  120. func (m *KeywordPlanCampaign) GetGeoTargets() []*KeywordPlanGeoTarget {
  121. if m != nil {
  122. return m.GeoTargets
  123. }
  124. return nil
  125. }
  126. // A geo target.
  127. // Next ID: 3
  128. type KeywordPlanGeoTarget struct {
  129. // Required. The resource name of the geo target.
  130. GeoTargetConstant *wrappers.StringValue `protobuf:"bytes,1,opt,name=geo_target_constant,json=geoTargetConstant,proto3" json:"geo_target_constant,omitempty"`
  131. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  132. XXX_unrecognized []byte `json:"-"`
  133. XXX_sizecache int32 `json:"-"`
  134. }
  135. func (m *KeywordPlanGeoTarget) Reset() { *m = KeywordPlanGeoTarget{} }
  136. func (m *KeywordPlanGeoTarget) String() string { return proto.CompactTextString(m) }
  137. func (*KeywordPlanGeoTarget) ProtoMessage() {}
  138. func (*KeywordPlanGeoTarget) Descriptor() ([]byte, []int) {
  139. return fileDescriptor_keyword_plan_campaign_601a4f8c7129cc37, []int{1}
  140. }
  141. func (m *KeywordPlanGeoTarget) XXX_Unmarshal(b []byte) error {
  142. return xxx_messageInfo_KeywordPlanGeoTarget.Unmarshal(m, b)
  143. }
  144. func (m *KeywordPlanGeoTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  145. return xxx_messageInfo_KeywordPlanGeoTarget.Marshal(b, m, deterministic)
  146. }
  147. func (dst *KeywordPlanGeoTarget) XXX_Merge(src proto.Message) {
  148. xxx_messageInfo_KeywordPlanGeoTarget.Merge(dst, src)
  149. }
  150. func (m *KeywordPlanGeoTarget) XXX_Size() int {
  151. return xxx_messageInfo_KeywordPlanGeoTarget.Size(m)
  152. }
  153. func (m *KeywordPlanGeoTarget) XXX_DiscardUnknown() {
  154. xxx_messageInfo_KeywordPlanGeoTarget.DiscardUnknown(m)
  155. }
  156. var xxx_messageInfo_KeywordPlanGeoTarget proto.InternalMessageInfo
  157. func (m *KeywordPlanGeoTarget) GetGeoTargetConstant() *wrappers.StringValue {
  158. if m != nil {
  159. return m.GeoTargetConstant
  160. }
  161. return nil
  162. }
  163. func init() {
  164. proto.RegisterType((*KeywordPlanCampaign)(nil), "google.ads.googleads.v0.resources.KeywordPlanCampaign")
  165. proto.RegisterType((*KeywordPlanGeoTarget)(nil), "google.ads.googleads.v0.resources.KeywordPlanGeoTarget")
  166. }
  167. func init() {
  168. proto.RegisterFile("google/ads/googleads/v0/resources/keyword_plan_campaign.proto", fileDescriptor_keyword_plan_campaign_601a4f8c7129cc37)
  169. }
  170. var fileDescriptor_keyword_plan_campaign_601a4f8c7129cc37 = []byte{
  171. // 508 bytes of a gzipped FileDescriptorProto
  172. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x61, 0x6b, 0xd4, 0x30,
  173. 0x18, 0xc7, 0x69, 0x77, 0x4e, 0xcd, 0x9d, 0x03, 0xb3, 0xbd, 0x28, 0x53, 0xe4, 0x36, 0x19, 0x1c,
  174. 0x08, 0x69, 0x99, 0xa2, 0x52, 0x11, 0xe9, 0x0d, 0x39, 0x75, 0x3a, 0x8e, 0x2a, 0x87, 0xc8, 0x41,
  175. 0xc9, 0x35, 0x31, 0x94, 0x6b, 0x93, 0x92, 0xb4, 0x3b, 0xf4, 0xbd, 0x5f, 0xc4, 0x97, 0x7e, 0x0a,
  176. 0x5f, 0xfb, 0x51, 0xfc, 0x14, 0x72, 0xc9, 0xa5, 0x3b, 0xdc, 0xcd, 0xfa, 0xee, 0x69, 0xf2, 0xff,
  177. 0x3d, 0xff, 0xa7, 0xff, 0x24, 0xe0, 0x39, 0x13, 0x82, 0xe5, 0xd4, 0xc7, 0x44, 0xf9, 0xa6, 0x5c,
  178. 0x56, 0xe7, 0x81, 0x2f, 0xa9, 0x12, 0xb5, 0x4c, 0xa9, 0xf2, 0xe7, 0xf4, 0xcb, 0x42, 0x48, 0x92,
  179. 0x94, 0x39, 0xe6, 0x49, 0x8a, 0x8b, 0x12, 0x67, 0x8c, 0xa3, 0x52, 0x8a, 0x4a, 0xc0, 0x03, 0xc3,
  180. 0x20, 0x4c, 0x14, 0x6a, 0x70, 0x74, 0x1e, 0xa0, 0x06, 0xdf, 0x7f, 0x7a, 0x95, 0x03, 0xe5, 0x75,
  181. 0xf1, 0x57, 0x77, 0x4e, 0xab, 0x85, 0x90, 0x73, 0xd3, 0x7c, 0xff, 0xde, 0x8a, 0xd4, 0x5f, 0xb3,
  182. 0xfa, 0xb3, 0xbf, 0x90, 0xb8, 0x2c, 0xa9, 0x54, 0x66, 0xff, 0xf0, 0x67, 0x07, 0xec, 0x9e, 0x1a,
  183. 0x7c, 0x9c, 0x63, 0x7e, 0xb2, 0x1a, 0x0d, 0xde, 0x07, 0xb7, 0xac, 0x7d, 0xc2, 0x71, 0x41, 0x3d,
  184. 0xa7, 0xef, 0x0c, 0x6e, 0xc6, 0x3d, 0xbb, 0x78, 0x86, 0x0b, 0x0a, 0x5f, 0x80, 0xde, 0xba, 0xb5,
  185. 0xe7, 0xf6, 0x9d, 0x41, 0xf7, 0xf8, 0xee, 0xea, 0x2f, 0x90, 0xf5, 0x44, 0xef, 0x2b, 0x99, 0x71,
  186. 0x36, 0xc1, 0x79, 0x4d, 0xe3, 0xee, 0xfc, 0xc2, 0x0d, 0x3e, 0x00, 0x6e, 0x46, 0xbc, 0x2d, 0x8d,
  187. 0xdd, 0xb9, 0x84, 0xbd, 0xe6, 0xd5, 0xe3, 0x47, 0x86, 0x72, 0x33, 0x02, 0x03, 0xd0, 0xd1, 0x93,
  188. 0x74, 0xfe, 0xc3, 0x45, 0x2b, 0xe1, 0x29, 0x80, 0x39, 0xe6, 0xac, 0xc6, 0x8c, 0x26, 0xa9, 0xe0,
  189. 0xaa, 0xc2, 0xbc, 0x52, 0xde, 0xb5, 0xfe, 0x56, 0x2b, 0x7f, 0xdb, 0x72, 0x27, 0x16, 0x83, 0x5f,
  190. 0xc1, 0xde, 0xa6, 0x9c, 0xbd, 0xed, 0xbe, 0x33, 0xd8, 0x39, 0x7e, 0x85, 0xae, 0x3a, 0x45, 0x7d,
  191. 0x44, 0x68, 0x2d, 0xe3, 0x33, 0x03, 0xbe, 0xe4, 0x75, 0xb1, 0x61, 0x39, 0x86, 0xf3, 0x4b, 0x6b,
  192. 0x30, 0x02, 0x3b, 0x69, 0x99, 0x26, 0xb3, 0x8c, 0x24, 0x45, 0x96, 0x4a, 0xa1, 0xbc, 0xeb, 0xed,
  193. 0x99, 0xf5, 0xd2, 0x32, 0x1d, 0x66, 0xe4, 0x9d, 0x06, 0xe0, 0x47, 0xd0, 0x65, 0x54, 0x24, 0x15,
  194. 0x96, 0x8c, 0x56, 0xca, 0xbb, 0xa1, 0x43, 0x78, 0x82, 0x5a, 0xef, 0xde, 0xfa, 0x88, 0x23, 0x2a,
  195. 0x3e, 0x68, 0x3e, 0x06, 0xcc, 0x96, 0xea, 0x90, 0x80, 0xbd, 0x4d, 0x1a, 0xf8, 0x16, 0xec, 0x5e,
  196. 0x38, 0x36, 0xf9, 0xeb, 0x8b, 0xd4, 0x1a, 0x7f, 0xd3, 0xde, 0xe6, 0x3f, 0xfc, 0xe6, 0x82, 0xa3,
  197. 0x54, 0x14, 0xed, 0x03, 0x0f, 0xbd, 0x0d, 0xf7, 0x79, 0xbc, 0x74, 0x19, 0x3b, 0x9f, 0xde, 0xac,
  198. 0x70, 0x26, 0x96, 0x07, 0x8c, 0x84, 0x64, 0x3e, 0xa3, 0x5c, 0xcf, 0x60, 0x1f, 0x56, 0x99, 0xa9,
  199. 0x7f, 0xbc, 0xe4, 0x67, 0x4d, 0xf5, 0xdd, 0xdd, 0x1a, 0x45, 0xd1, 0x0f, 0xf7, 0x60, 0x64, 0x5a,
  200. 0x46, 0x44, 0x21, 0x53, 0x2e, 0xab, 0x49, 0x80, 0x62, 0xab, 0xfc, 0x65, 0x35, 0xd3, 0x88, 0xa8,
  201. 0x69, 0xa3, 0x99, 0x4e, 0x82, 0x69, 0xa3, 0xf9, 0xed, 0x1e, 0x99, 0x8d, 0x30, 0x8c, 0x88, 0x0a,
  202. 0xc3, 0x46, 0x15, 0x86, 0x93, 0x20, 0x0c, 0x1b, 0xdd, 0x6c, 0x5b, 0x0f, 0xfb, 0xf0, 0x4f, 0x00,
  203. 0x00, 0x00, 0xff, 0xff, 0x74, 0xe7, 0x19, 0xc7, 0x75, 0x04, 0x00, 0x00,
  204. }