| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/resources/search_term_view.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v2/enums" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A search term view with metrics aggregated by search term at the ad group |
| // level. |
| type SearchTermView struct { |
| // Output only. The resource name of the search term view. |
| // Search term view resource names have the form: |
| // |
| // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. The search term. |
| SearchTerm *wrappers.StringValue `protobuf:"bytes,2,opt,name=search_term,json=searchTerm,proto3" json:"search_term,omitempty"` |
| // Output only. The ad group the search term served in. |
| AdGroup *wrappers.StringValue `protobuf:"bytes,3,opt,name=ad_group,json=adGroup,proto3" json:"ad_group,omitempty"` |
| // Output only. Indicates whether the search term is currently one of your |
| // targeted or excluded keywords. |
| Status enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus `protobuf:"varint,4,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *SearchTermView) Reset() { *m = SearchTermView{} } |
| func (m *SearchTermView) String() string { return proto.CompactTextString(m) } |
| func (*SearchTermView) ProtoMessage() {} |
| func (*SearchTermView) Descriptor() ([]byte, []int) { |
| return fileDescriptor_c10e074d81af5129, []int{0} |
| } |
| |
| func (m *SearchTermView) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_SearchTermView.Unmarshal(m, b) |
| } |
| func (m *SearchTermView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_SearchTermView.Marshal(b, m, deterministic) |
| } |
| func (m *SearchTermView) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_SearchTermView.Merge(m, src) |
| } |
| func (m *SearchTermView) XXX_Size() int { |
| return xxx_messageInfo_SearchTermView.Size(m) |
| } |
| func (m *SearchTermView) XXX_DiscardUnknown() { |
| xxx_messageInfo_SearchTermView.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_SearchTermView proto.InternalMessageInfo |
| |
| func (m *SearchTermView) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *SearchTermView) GetSearchTerm() *wrappers.StringValue { |
| if m != nil { |
| return m.SearchTerm |
| } |
| return nil |
| } |
| |
| func (m *SearchTermView) GetAdGroup() *wrappers.StringValue { |
| if m != nil { |
| return m.AdGroup |
| } |
| return nil |
| } |
| |
| func (m *SearchTermView) GetStatus() enums.SearchTermTargetingStatusEnum_SearchTermTargetingStatus { |
| if m != nil { |
| return m.Status |
| } |
| return enums.SearchTermTargetingStatusEnum_UNSPECIFIED |
| } |
| |
| func init() { |
| proto.RegisterType((*SearchTermView)(nil), "google.ads.googleads.v2.resources.SearchTermView") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/resources/search_term_view.proto", fileDescriptor_c10e074d81af5129) |
| } |
| |
| var fileDescriptor_c10e074d81af5129 = []byte{ |
| // 492 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,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