1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/resources/domain_category.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	_ "google.golang.org/genproto/googleapis/api/annotations"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26// A category generated automatically by crawling a domain. If a campaign uses
27// the DynamicSearchAdsSetting, then domain categories will be generated for
28// the domain. The categories can be targeted using WebpageConditionInfo.
29// See: https://support.google.com/google-ads/answer/2471185
30type DomainCategory struct {
31	// Output only. The resource name of the domain category.
32	// Domain category resource names have the form:
33	//
34	// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}`
35	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
36	// Output only. The campaign this category is recommended for.
37	Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"`
38	// Output only. Recommended category for the website domain. e.g. if you have a website
39	// about electronics, the categories could be "cameras", "televisions", etc.
40	Category *wrappers.StringValue `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
41	// Output only. The language code specifying the language of the website. e.g. "en" for
42	// English. The language can be specified in the DynamicSearchAdsSetting
43	// required for dynamic search ads. This is the language of the pages from
44	// your website that you want Google Ads to find, create ads for,
45	// and match searches with.
46	LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
47	// Output only. The domain for the website. The domain can be specified in the
48	// DynamicSearchAdsSetting required for dynamic search ads.
49	Domain *wrappers.StringValue `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"`
50	// Output only. Fraction of pages on your site that this category matches.
51	CoverageFraction *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=coverage_fraction,json=coverageFraction,proto3" json:"coverage_fraction,omitempty"`
52	// Output only. The position of this category in the set of categories. Lower numbers
53	// indicate a better match for the domain. null indicates not recommended.
54	CategoryRank *wrappers.Int64Value `protobuf:"bytes,7,opt,name=category_rank,json=categoryRank,proto3" json:"category_rank,omitempty"`
55	// Output only. Indicates whether this category has sub-categories.
56	HasChildren *wrappers.BoolValue `protobuf:"bytes,8,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"`
57	// Output only. The recommended cost per click for the category.
58	RecommendedCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,9,opt,name=recommended_cpc_bid_micros,json=recommendedCpcBidMicros,proto3" json:"recommended_cpc_bid_micros,omitempty"`
59	XXX_NoUnkeyedLiteral    struct{}             `json:"-"`
60	XXX_unrecognized        []byte               `json:"-"`
61	XXX_sizecache           int32                `json:"-"`
62}
63
64func (m *DomainCategory) Reset()         { *m = DomainCategory{} }
65func (m *DomainCategory) String() string { return proto.CompactTextString(m) }
66func (*DomainCategory) ProtoMessage()    {}
67func (*DomainCategory) Descriptor() ([]byte, []int) {
68	return fileDescriptor_c2d1ae0f79ccb888, []int{0}
69}
70
71func (m *DomainCategory) XXX_Unmarshal(b []byte) error {
72	return xxx_messageInfo_DomainCategory.Unmarshal(m, b)
73}
74func (m *DomainCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
75	return xxx_messageInfo_DomainCategory.Marshal(b, m, deterministic)
76}
77func (m *DomainCategory) XXX_Merge(src proto.Message) {
78	xxx_messageInfo_DomainCategory.Merge(m, src)
79}
80func (m *DomainCategory) XXX_Size() int {
81	return xxx_messageInfo_DomainCategory.Size(m)
82}
83func (m *DomainCategory) XXX_DiscardUnknown() {
84	xxx_messageInfo_DomainCategory.DiscardUnknown(m)
85}
86
87var xxx_messageInfo_DomainCategory proto.InternalMessageInfo
88
89func (m *DomainCategory) GetResourceName() string {
90	if m != nil {
91		return m.ResourceName
92	}
93	return ""
94}
95
96func (m *DomainCategory) GetCampaign() *wrappers.StringValue {
97	if m != nil {
98		return m.Campaign
99	}
100	return nil
101}
102
103func (m *DomainCategory) GetCategory() *wrappers.StringValue {
104	if m != nil {
105		return m.Category
106	}
107	return nil
108}
109
110func (m *DomainCategory) GetLanguageCode() *wrappers.StringValue {
111	if m != nil {
112		return m.LanguageCode
113	}
114	return nil
115}
116
117func (m *DomainCategory) GetDomain() *wrappers.StringValue {
118	if m != nil {
119		return m.Domain
120	}
121	return nil
122}
123
124func (m *DomainCategory) GetCoverageFraction() *wrappers.DoubleValue {
125	if m != nil {
126		return m.CoverageFraction
127	}
128	return nil
129}
130
131func (m *DomainCategory) GetCategoryRank() *wrappers.Int64Value {
132	if m != nil {
133		return m.CategoryRank
134	}
135	return nil
136}
137
138func (m *DomainCategory) GetHasChildren() *wrappers.BoolValue {
139	if m != nil {
140		return m.HasChildren
141	}
142	return nil
143}
144
145func (m *DomainCategory) GetRecommendedCpcBidMicros() *wrappers.Int64Value {
146	if m != nil {
147		return m.RecommendedCpcBidMicros
148	}
149	return nil
150}
151
152func init() {
153	proto.RegisterType((*DomainCategory)(nil), "google.ads.googleads.v1.resources.DomainCategory")
154}
155
156func init() {
157	proto.RegisterFile("google/ads/googleads/v1/resources/domain_category.proto", fileDescriptor_c2d1ae0f79ccb888)
158}
159
160var fileDescriptor_c2d1ae0f79ccb888 = []byte{
161	// 589 bytes of a gzipped FileDescriptorProto
162	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x41, 0x6f, 0xd3, 0x30,
163	0x14, 0xc7, 0xd5, 0x16, 0xca, 0xe6, 0x6d, 0x08, 0xc2, 0x81, 0x50, 0x26, 0xd8, 0x40, 0x13, 0xdb,
164	0xc5, 0x56, 0x01, 0x31, 0x11, 0xc4, 0x21, 0xe9, 0xd8, 0x04, 0x12, 0xd3, 0x54, 0x50, 0x0f, 0xa8,
165	0x28, 0x72, 0x6d, 0x2f, 0xb5, 0x96, 0xd8, 0x91, 0x9d, 0x14, 0xa1, 0x69, 0x12, 0x9f, 0x85, 0x23,
166	0x07, 0x3e, 0x08, 0x9f, 0x62, 0xe7, 0x7d, 0x04, 0x4e, 0x28, 0x89, 0x9d, 0x65, 0x4c, 0x83, 0xde,
167	0x5e, 0xf5, 0xfe, 0xff, 0xdf, 0xfb, 0x3f, 0xd5, 0x2f, 0x60, 0x3b, 0x92, 0x32, 0x8a, 0x19, 0xc2,
168	0x54, 0xa3, 0xaa, 0x2c, 0xaa, 0x59, 0x1f, 0x29, 0xa6, 0x65, 0xae, 0x08, 0xd3, 0x88, 0xca, 0x04,
169	0x73, 0x11, 0x12, 0x9c, 0xb1, 0x48, 0xaa, 0xaf, 0x30, 0x55, 0x32, 0x93, 0xce, 0x7a, 0xa5, 0x86,
170	0x98, 0x6a, 0x58, 0x1b, 0xe1, 0xac, 0x0f, 0x6b, 0x63, 0xef, 0xa1, 0x65, 0xa7, 0x1c, 0x1d, 0x72,
171	0x16, 0xd3, 0x70, 0xc2, 0xa6, 0x78, 0xc6, 0xa5, 0xaa, 0x18, 0xbd, 0x7b, 0x0d, 0x81, 0xb5, 0x99,
172	0xd6, 0x03, 0xd3, 0x2a, 0x7f, 0x4d, 0xf2, 0x43, 0xf4, 0x45, 0xe1, 0x34, 0x65, 0x4a, 0x9b, 0xfe,
173	0x6a, 0xc3, 0x8a, 0x85, 0x90, 0x19, 0xce, 0xb8, 0x14, 0xa6, 0xfb, 0xe8, 0x67, 0x17, 0xdc, 0xdc,
174	0x29, 0x63, 0x0f, 0x4c, 0x6a, 0xe7, 0x23, 0x58, 0xb1, 0x23, 0x42, 0x81, 0x13, 0xe6, 0xb6, 0xd6,
175	0x5a, 0x9b, 0x8b, 0x01, 0x3a, 0xf5, 0x3b, 0xbf, 0xfd, 0x2d, 0xf0, 0xe4, 0x7c, 0x07, 0x53, 0xa5,
176	0x5c, 0x43, 0x22, 0x13, 0x74, 0x91, 0x33, 0x5c, 0xb6, 0x94, 0x7d, 0x9c, 0x30, 0x87, 0x80, 0x05,
177	0x82, 0x93, 0x14, 0xf3, 0x48, 0xb8, 0xed, 0xb5, 0xd6, 0xe6, 0xd2, 0xd3, 0x55, 0xe3, 0x87, 0x36,
178	0x39, 0xfc, 0x90, 0x29, 0x2e, 0xa2, 0x11, 0x8e, 0x73, 0x16, 0x6c, 0x95, 0xe3, 0x1e, 0x83, 0xf5,
179	0x2b, 0xc7, 0x0d, 0x0c, 0x6e, 0x58, 0x83, 0x9d, 0xd7, 0xc5, 0x90, 0x6a, 0xbc, 0xdb, 0x99, 0x63,
180	0x48, 0xe7, 0xd4, 0xef, 0x0c, 0x6b, 0x8b, 0xb3, 0x0b, 0x56, 0x62, 0x2c, 0xa2, 0x1c, 0x47, 0x2c,
181	0x24, 0x92, 0x32, 0xf7, 0xda, 0xbc, 0x8c, 0x65, 0xeb, 0x1b, 0x48, 0xca, 0x9c, 0x97, 0xa0, 0x5b,
182	0x3d, 0x05, 0xf7, 0xfa, 0xbc, 0x00, 0x63, 0x70, 0xf6, 0xc1, 0x6d, 0x22, 0x67, 0x4c, 0x15, 0x11,
183	0x0e, 0x15, 0x26, 0xc5, 0x7f, 0xe5, 0x76, 0xaf, 0xa0, 0xec, 0xc8, 0x7c, 0x12, 0xb3, 0x06, 0xe5,
184	0x96, 0xf5, 0xee, 0x1a, 0xab, 0xf3, 0x06, 0xac, 0xd8, 0xf5, 0x42, 0x85, 0xc5, 0x91, 0x7b, 0xa3,
185	0x64, 0xdd, 0xbf, 0xc4, 0x7a, 0x2b, 0xb2, 0x17, 0xcf, 0x9b, 0x1b, 0x59, 0xdb, 0x10, 0x8b, 0x23,
186	0x27, 0x00, 0xcb, 0x53, 0xac, 0x43, 0x32, 0xe5, 0x31, 0x55, 0x4c, 0xb8, 0x0b, 0x25, 0xa5, 0x77,
187	0x89, 0x12, 0x48, 0x19, 0x37, 0x20, 0x4b, 0x53, 0xac, 0x07, 0xc6, 0xe3, 0x7c, 0x06, 0x3d, 0xc5,
188	0x88, 0x4c, 0x12, 0x26, 0x28, 0xa3, 0x21, 0x49, 0x49, 0x38, 0xe1, 0x34, 0x4c, 0x38, 0x51, 0x52,
189	0xbb, 0x8b, 0x73, 0xe6, 0xba, 0xdb, 0x60, 0x0c, 0x52, 0x12, 0x70, 0xfa, 0xbe, 0x04, 0x78, 0xec,
190	0xcc, 0x9f, 0xcc, 0xfd, 0x38, 0x9d, 0x6d, 0x92, 0xeb, 0x4c, 0x26, 0x4c, 0x69, 0x74, 0x6c, 0xcb,
191	0x13, 0x73, 0xc0, 0x46, 0xc4, 0x99, 0x46, 0xc7, 0x7f, 0x9d, 0xf4, 0x49, 0xf0, 0xad, 0x0d, 0x36,
192	0x88, 0x4c, 0xe0, 0x7f, 0x8f, 0x3a, 0xb8, 0x73, 0x71, 0xe4, 0x41, 0xb1, 0xd1, 0x41, 0xeb, 0xd3,
193	0x3b, 0xe3, 0x8c, 0x64, 0xf1, 0x66, 0xa0, 0x54, 0x11, 0x8a, 0x98, 0x28, 0xf7, 0x45, 0xe7, 0x99,
194	0xff, 0xf1, 0x99, 0x79, 0x55, 0x57, 0xdf, 0xdb, 0x9d, 0x3d, 0xdf, 0xff, 0xd1, 0x5e, 0xdf, 0xab,
195	0x90, 0x3e, 0xd5, 0xb0, 0x2a, 0x8b, 0x6a, 0xd4, 0x87, 0x43, 0xab, 0xfc, 0x65, 0x35, 0x63, 0x9f,
196	0xea, 0x71, 0xad, 0x19, 0x8f, 0xfa, 0xe3, 0x5a, 0x73, 0xd6, 0xde, 0xa8, 0x1a, 0x9e, 0xe7, 0x53,
197	0xed, 0x79, 0xb5, 0xca, 0xf3, 0x46, 0x7d, 0xcf, 0xab, 0x75, 0x93, 0x6e, 0x19, 0xf6, 0xd9, 0x9f,
198	0x00, 0x00, 0x00, 0xff, 0xff, 0x0b, 0x97, 0x2b, 0x3a, 0x12, 0x05, 0x00, 0x00,
199}
200