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.
 
 
 

132 lines
6.3 KiB

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