1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v1/resources/search_term_view.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/v1/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 search term view with metrics aggregated by search term at the ad group 28// level. 29type SearchTermView struct { 30 // The resource name of the search term view. 31 // Search term view resource names have the form: 32 // 33 // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~ 34 // {URL-base64 search term}` 35 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 36 // The search term. 37 SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` 38 // The ad group the search term served in. 39 AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` 40 // Indicates whether the search term is currently one of your 41 // targeted or excluded keywords. 42 Status enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v1.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus" json:"status,omitempty"` 43 XXX_NoUnkeyedLiteral struct{} `json:"-"` 44 XXX_unrecognized []byte `json:"-"` 45 XXX_sizecache int32 `json:"-"` 46} 47 48func (m *SearchTermView) Reset() { *m = SearchTermView{} } 49func (m *SearchTermView) String() string { return proto.CompactTextString(m) } 50func (*SearchTermView) ProtoMessage() {} 51func (*SearchTermView) Descriptor() ([]byte, []int) { 52 return fileDescriptor_13d7523262f43a04, []int{0} 53} 54 55func (m *SearchTermView) XXX_Unmarshal(b []byte) error { 56 return xxx_messageInfo_SearchTermView.Unmarshal(m, b) 57} 58func (m *SearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 59 return xxx_messageInfo_SearchTermView.Marshal(b, m, deterministic) 60} 61func (m *SearchTermView) XXX_Merge(src proto.Message) { 62 xxx_messageInfo_SearchTermView.Merge(m, src) 63} 64func (m *SearchTermView) XXX_Size() int { 65 return xxx_messageInfo_SearchTermView.Size(m) 66} 67func (m *SearchTermView) XXX_DiscardUnknown() { 68 xxx_messageInfo_SearchTermView.DiscardUnknown(m) 69} 70 71var xxx_messageInfo_SearchTermView proto.InternalMessageInfo 72 73func (m *SearchTermView) GetResourceName() string { 74 if m != nil { 75 return m.ResourceName 76 } 77 return "" 78} 79 80func (m *SearchTermView) GetSearchTerm() *wrappers.StringValue { 81 if m != nil { 82 return m.SearchTerm 83 } 84 return nil 85} 86 87func (m *SearchTermView) GetAdGroup() *wrappers.StringValue { 88 if m != nil { 89 return m.AdGroup 90 } 91 return nil 92} 93 94func (m *SearchTermView) GetStatus() enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus { 95 if m != nil { 96 return m.Status 97 } 98 return enums.SearchTermTargetingStatusEnum_UNSPECIFIED 99} 100 101func init() { 102 proto.RegisterType((*SearchTermView)(nil), "google.ads.googleads.v1.resources.SearchTermView") 103} 104 105func init() { 106 proto.RegisterFile("google/ads/googleads/v1/resources/search_term_view.proto", fileDescriptor_13d7523262f43a04) 107} 108 109var fileDescriptor_13d7523262f43a04 = []byte{ 110 // 403 bytes of a gzipped FileDescriptorProto 111 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4f, 0x6b, 0xdb, 0x30, 112 0x1c, 0xc5, 0xce, 0xc8, 0x36, 0x65, 0xcb, 0xc1, 0xbb, 0x98, 0x10, 0x46, 0xb2, 0x11, 0xc8, 0x49, 113 0xc6, 0xd9, 0x61, 0x43, 0x63, 0x30, 0x07, 0x4a, 0xa0, 0x87, 0x12, 0x9c, 0xe0, 0x43, 0x31, 0x18, 114 0x25, 0x56, 0x55, 0x43, 0x2c, 0x19, 0x49, 0x4e, 0xae, 0xfd, 0x22, 0xbd, 0xf4, 0xd8, 0x8f, 0xd2, 115 0x8f, 0xd2, 0x4f, 0x51, 0xfc, 0x47, 0x6a, 0x73, 0x48, 0xdb, 0xdb, 0x4b, 0xde, 0x7b, 0xbf, 0xf7, 116 0x7b, 0x3f, 0x19, 0xfc, 0xa1, 0x9c, 0xd3, 0x1d, 0xf1, 0x70, 0x2a, 0xbd, 0x06, 0x56, 0x68, 0xef, 117 0x7b, 0x82, 0x48, 0x5e, 0x8a, 0x2d, 0x91, 0x9e, 0x24, 0x58, 0x6c, 0xaf, 0x13, 0x45, 0x44, 0x9e, 118 0xec, 0x33, 0x72, 0x80, 0x85, 0xe0, 0x8a, 0x3b, 0xe3, 0x46, 0x0e, 0x71, 0x2a, 0xa1, 0x71, 0xc2, 119 0xbd, 0x0f, 0x8d, 0x73, 0xf0, 0xff, 0xd4, 0x70, 0xc2, 0xca, 0xfc, 0x78, 0xb0, 0xc2, 0x82, 0x12, 120 0x95, 0x31, 0x9a, 0x48, 0x85, 0x55, 0x29, 0x9b, 0x90, 0xc1, 0x50, 0x4f, 0x28, 0x32, 0x0f, 0x33, 121 0xc6, 0x15, 0x56, 0x19, 0x67, 0x9a, 0xfd, 0xde, 0xb2, 0xf5, 0xaf, 0x4d, 0x79, 0xe5, 0x1d, 0x04, 122 0x2e, 0x0a, 0x22, 0x5a, 0xfe, 0xc7, 0xad, 0x0d, 0xfa, 0xab, 0x3a, 0x64, 0x4d, 0x44, 0x1e, 0x65, 123 0xe4, 0xe0, 0xfc, 0x04, 0x5f, 0xf5, 0x7e, 0x09, 0xc3, 0x39, 0x71, 0x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