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.
 
 
 

229 lines
10 KiB

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