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.
 
 
 

134 lines
6.5 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/search_term_view.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 search term view with metrics aggregated by search term at the ad group
  20. // level.
  21. type SearchTermView struct {
  22. // The resource name of the search term view.
  23. // Search term view resource names have the form:
  24. //
  25. // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}_
  26. // {URL-base64 search term}`
  27. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  28. // The search term.
  29. SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"`
  30. // The ad group the search term served in.
  31. AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"`
  32. // Indicates whether the search term is currently one of your
  33. // targeted or excluded keywords.
  34. Status enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus" json:"status,omitempty"`
  35. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  36. XXX_unrecognized []byte `json:"-"`
  37. XXX_sizecache int32 `json:"-"`
  38. }
  39. func (m *SearchTermView) Reset() { *m = SearchTermView{} }
  40. func (m *SearchTermView) String() string { return proto.CompactTextString(m) }
  41. func (*SearchTermView) ProtoMessage() {}
  42. func (*SearchTermView) Descriptor() ([]byte, []int) {
  43. return fileDescriptor_search_term_view_b320e72917d3ded0, []int{0}
  44. }
  45. func (m *SearchTermView) XXX_Unmarshal(b []byte) error {
  46. return xxx_messageInfo_SearchTermView.Unmarshal(m, b)
  47. }
  48. func (m *SearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  49. return xxx_messageInfo_SearchTermView.Marshal(b, m, deterministic)
  50. }
  51. func (dst *SearchTermView) XXX_Merge(src proto.Message) {
  52. xxx_messageInfo_SearchTermView.Merge(dst, src)
  53. }
  54. func (m *SearchTermView) XXX_Size() int {
  55. return xxx_messageInfo_SearchTermView.Size(m)
  56. }
  57. func (m *SearchTermView) XXX_DiscardUnknown() {
  58. xxx_messageInfo_SearchTermView.DiscardUnknown(m)
  59. }
  60. var xxx_messageInfo_SearchTermView proto.InternalMessageInfo
  61. func (m *SearchTermView) GetResourceName() string {
  62. if m != nil {
  63. return m.ResourceName
  64. }
  65. return ""
  66. }
  67. func (m *SearchTermView) GetSearchTerm() *wrappers.StringValue {
  68. if m != nil {
  69. return m.SearchTerm
  70. }
  71. return nil
  72. }
  73. func (m *SearchTermView) GetAdGroup() *wrappers.StringValue {
  74. if m != nil {
  75. return m.AdGroup
  76. }
  77. return nil
  78. }
  79. func (m *SearchTermView) GetStatus() enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus {
  80. if m != nil {
  81. return m.Status
  82. }
  83. return enums.SearchTermTargetingStatusEnum_UNSPECIFIED
  84. }
  85. func init() {
  86. proto.RegisterType((*SearchTermView)(nil), "google.ads.googleads.v1.resources.SearchTermView")
  87. }
  88. func init() {
  89. proto.RegisterFile("google/ads/googleads/v1/resources/search_term_view.proto", fileDescriptor_search_term_view_b320e72917d3ded0)
  90. }
  91. var fileDescriptor_search_term_view_b320e72917d3ded0 = []byte{
  92. // 404 bytes of a gzipped FileDescriptorProto
  93. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6b, 0xdb, 0x40,
  94. 0x10, 0x45, 0x72, 0x71, 0xdb, 0x75, 0xeb, 0x83, 0x7a, 0x11, 0xc6, 0x14, 0xbb, 0xc5, 0xe0, 0xd3,
  95. 0x0a, 0xb9, 0x87, 0x96, 0x2d, 0x85, 0xca, 0x10, 0x0c, 0x39, 0x04, 0x23, 0x1b, 0x1d, 0x82, 0x40,
  96. 0xac, 0xad, 0xcd, 0x46, 0x60, 0xed, 0x8a, 0xdd, 0x95, 0x7d, 0xcd, 0x1f, 0xc9, 0x25, 0xc7, 0xfc,
  97. 0x94, 0xfc, 0x94, 0xfc, 0x8a, 0xa0, 0x8f, 0xdd, 0xc4, 0x07, 0x27, 0xb9, 0x3d, 0x69, 0xde, 0x9b,
  98. 0x37, 0x6f, 0x66, 0xc1, 0x1f, 0xca, 0x39, 0xdd, 0x11, 0x0f, 0xa7, 0xd2, 0x6b, 0x60, 0x85, 0xf6,
  99. 0xbe, 0x27, 0x88, 0xe4, 0xa5, 0xd8, 0x12, 0xe9, 0x49, 0x82, 0xc5, 0xf6, 0x3a, 0x51, 0x44, 0xe4,
  100. 0xc9, 0x3e, 0x23, 0x07, 0x58, 0x08, 0xae, 0xb8, 0x33, 0x6e, 0xe8, 0x10, 0xa7, 0x12, 0x1a, 0x25,
  101. 0xdc, 0xfb, 0xd0, 0x28, 0x07, 0xff, 0x4f, 0x35, 0x27, 0xac, 0xcc, 0x8f, 0x1b, 0x2b, 0x2c, 0x28,
  102. 0x51, 0x19, 0xa3, 0x89, 0x54, 0x58, 0x95, 0xb2, 0x31, 0x19, 0x7c, 0x6f, 0x3b, 0xd4, 0x5f, 0x9b,
  103. 0xf2, 0xca, 0x3b, 0x08, 0x5c, 0x14, 0x44, 0xe8, 0xfa, 0x50, 0x3b, 0x14, 0x99, 0x87, 0x19, 0xe3,
  104. 0x0a, 0xab, 0x8c, 0xb3, 0xb6, 0xfa, 0xe3, 0xd6, 0x06, 0xfd, 0x55, 0x6d, 0xb2, 0x26, 0x22, 0x8f,
  105. 0x32, 0x72, 0x70, 0x7e, 0x82, 0xaf, 0x7a, 0xbe, 0x84, 0xe1, 0x9c, 0xb8, 0xd6, 0xc8, 0x9a, 0x7e,
  106. 0x0e, 0xbf, 0xe8, 0x9f, 0x17, 0x38, 0x27, 0xce, 0x3f, 0xd0, 0x7b, 0x31, 0x9b, 0x6b, 0x8f, 0xac,
  107. 0x69, 0x6f, 0x36, 0x6c, 0x53, 0x42, 0x3d, 0x0b, 0x5c, 0x29, 0x91, 0x31, 0x1a, 0xe1, 0x5d, 0x49,
  108. 0x42, 0x20, 0x8d, 0x8f, 0xf3, 0x1b, 0x7c, 0xc2, 0x69, 0x42, 0x05, 0x2f, 0x0b, 0xb7, 0xf3, 0x0e,
  109. 0xed, 0x47, 0x9c, 0x2e, 0x2a, 0xb2, 0xc3, 0x40, 0xb7, 0x49, 0xef, 0x7e, 0x18, 0x59, 0xd3, 0xfe,
  110. 0x2c, 0x82, 0xa7, 0x76, 0x5c, 0x2f, 0x10, 0x3e, 0x67, 0x5b, 0xeb, 0xf5, 0xad, 0x6a, 0xfd, 0x19,
  111. 0x2b, 0xf3, 0xd3, 0xd5, 0xb0, 0x75, 0x99, 0xdf, 0xd8, 0x60, 0xb2, 0xe5, 0x39, 0x7c, 0xf3, 0x92,
  112. 0xf3, 0x6f, 0xc7, 0x6b, 0x5c, 0x56, 0x31, 0x96, 0xd6, 0xe5, 0x79, 0xab, 0xa4, 0x7c, 0x87, 0x19,
  113. 0x85, 0x5c, 0x50, 0x8f, 0x12, 0x56, 0x87, 0xd4, 0x07, 0x2f, 0x32, 0xf9, 0xca, 0xe3, 0xfa, 0x6b,
  114. 0xd0, 0x9d, 0xdd, 0x59, 0x04, 0xc1, 0xbd, 0x3d, 0x5e, 0x34, 0x2d, 0x83, 0x54, 0xc2, 0x06, 0x56,
  115. 0x28, 0xf2, 0x61, 0xa8, 0x99, 0x0f, 0x9a, 0x13, 0x07, 0xa9, 0x8c, 0x0d, 0x27, 0x8e, 0xfc, 0xd8,
  116. 0x70, 0x1e, 0xed, 0x49, 0x53, 0x40, 0x28, 0x48, 0x25, 0x42, 0x86, 0x85, 0x50, 0xe4, 0x23, 0x64,
  117. 0x78, 0x9b, 0x6e, 0x3d, 0xec, 0xaf, 0xa7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc2, 0xb3, 0xb8, 0xe9,
  118. 0x08, 0x03, 0x00, 0x00,
  119. }