| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/resources/domain_category.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| _ "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 category generated automatically by crawling a domain. If a campaign uses |
| // the DynamicSearchAdsSetting, then domain categories will be generated for |
| // the domain. The categories can be targeted using WebpageConditionInfo. |
| // See: https://support.google.com/google-ads/answer/2471185 |
| type DomainCategory struct { |
| // Output only. The resource name of the domain category. |
| // Domain category resource names have the form: |
| // |
| // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. The campaign this category is recommended for. |
| Campaign *wrappers.StringValue `protobuf:"bytes,2,opt,name=campaign,proto3" json:"campaign,omitempty"` |
| // Output only. Recommended category for the website domain. e.g. if you have a website |
| // about electronics, the categories could be "cameras", "televisions", etc. |
| Category *wrappers.StringValue `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` |
| // Output only. The language code specifying the language of the website. e.g. "en" for |
| // English. The language can be specified in the DynamicSearchAdsSetting |
| // required for dynamic search ads. This is the language of the pages from |
| // your website that you want Google Ads to find, create ads for, |
| // and match searches with. |
| LanguageCode *wrappers.StringValue `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| // Output only. The domain for the website. The domain can be specified in the |
| // DynamicSearchAdsSetting required for dynamic search ads. |
| Domain *wrappers.StringValue `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` |
| // Output only. Fraction of pages on your site that this category matches. |
| CoverageFraction *wrappers.DoubleValue `protobuf:"bytes,6,opt,name=coverage_fraction,json=coverageFraction,proto3" json:"coverage_fraction,omitempty"` |
| // Output only. The position of this category in the set of categories. Lower numbers |
| // indicate a better match for the domain. null indicates not recommended. |
| CategoryRank *wrappers.Int64Value `protobuf:"bytes,7,opt,name=category_rank,json=categoryRank,proto3" json:"category_rank,omitempty"` |
| // Output only. Indicates whether this category has sub-categories. |
| HasChildren *wrappers.BoolValue `protobuf:"bytes,8,opt,name=has_children,json=hasChildren,proto3" json:"has_children,omitempty"` |
| // Output only. The recommended cost per click for the category. |
| RecommendedCpcBidMicros *wrappers.Int64Value `protobuf:"bytes,9,opt,name=recommended_cpc_bid_micros,json=recommendedCpcBidMicros,proto3" json:"recommended_cpc_bid_micros,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DomainCategory) Reset() { *m = DomainCategory{} } |
| func (m *DomainCategory) String() string { return proto.CompactTextString(m) } |
| func (*DomainCategory) ProtoMessage() {} |
| func (*DomainCategory) Descriptor() ([]byte, []int) { |
| return fileDescriptor_68b5d3cffbd1a298, []int{0} |
| } |
| |
| func (m *DomainCategory) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DomainCategory.Unmarshal(m, b) |
| } |
| func (m *DomainCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DomainCategory.Marshal(b, m, deterministic) |
| } |
| func (m *DomainCategory) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DomainCategory.Merge(m, src) |
| } |
| func (m *DomainCategory) XXX_Size() int { |
| return xxx_messageInfo_DomainCategory.Size(m) |
| } |
| func (m *DomainCategory) XXX_DiscardUnknown() { |
| xxx_messageInfo_DomainCategory.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DomainCategory proto.InternalMessageInfo |
| |
| func (m *DomainCategory) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *DomainCategory) GetCampaign() *wrappers.StringValue { |
| if m != nil { |
| return m.Campaign |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetCategory() *wrappers.StringValue { |
| if m != nil { |
| return m.Category |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetLanguageCode() *wrappers.StringValue { |
| if m != nil { |
| return m.LanguageCode |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetDomain() *wrappers.StringValue { |
| if m != nil { |
| return m.Domain |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetCoverageFraction() *wrappers.DoubleValue { |
| if m != nil { |
| return m.CoverageFraction |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetCategoryRank() *wrappers.Int64Value { |
| if m != nil { |
| return m.CategoryRank |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetHasChildren() *wrappers.BoolValue { |
| if m != nil { |
| return m.HasChildren |
| } |
| return nil |
| } |
| |
| func (m *DomainCategory) GetRecommendedCpcBidMicros() *wrappers.Int64Value { |
| if m != nil { |
| return m.RecommendedCpcBidMicros |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*DomainCategory)(nil), "google.ads.googleads.v2.resources.DomainCategory") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/resources/domain_category.proto", fileDescriptor_68b5d3cffbd1a298) |
| } |
| |
| var fileDescriptor_68b5d3cffbd1a298 = []byte{ |
| // 590 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x41, 0x6f, 0xd3, 0x3e, |
| 0x18, 0xc6, 0xd5, 0xf6, 0xff, 0x2f, 0x9b, 0xb7, 0x21, 0x08, 0x07, 0x42, 0x99, 0x60, 0x03, 0x4d, |
| 0x6c, 0x17, 0x5b, 0x2a, 0x88, 0x89, 0x20, 0x0e, 0x49, 0xc7, 0x26, 0x90, 0x98, 0xa6, 0x82, 0x7a, |
| 0x40, 0x45, 0x91, 0x6b, 0xbb, 0xa9, 0xb5, 0xc4, 0x8e, 0xec, 0xa4, 0x08, 0x4d, 0x93, 0xf8, 0x2c, |
| 0x1c, 0x39, 0xf0, 0x41, 0xf8, 0x14, 0x3b, 0xef, 0x23, 0x70, 0x42, 0x49, 0xec, 0x2c, 0x63, 0x1a, |
| 0xf4, 0xf6, 0x56, 0xef, 0xf3, 0xfc, 0xde, 0xe7, 0x55, 0xfd, 0x06, 0xec, 0x46, 0x52, 0x46, 0x31, |
| 0x43, 0x98, 0x6a, 0x54, 0x95, 0x45, 0x35, 0xef, 0x23, 0xc5, 0xb4, 0xcc, 0x15, 0x61, 0x1a, 0x51, |
| 0x99, 0x60, 0x2e, 0x42, 0x82, 0x33, 0x16, 0x49, 0xf5, 0x05, 0xa6, 0x4a, 0x66, 0xd2, 0xd9, 0xac, |
| 0xd4, 0x10, 0x53, 0x0d, 0x6b, 0x23, 0x9c, 0xf7, 0x61, 0x6d, 0xec, 0x3d, 0xb4, 0xec, 0x94, 0xa3, |
| 0x29, 0x67, 0x31, 0x0d, 0x27, 0x6c, 0x86, 0xe7, 0x5c, 0xaa, 0x8a, 0xd1, 0xbb, 0xd7, 0x10, 0x58, |
| 0x9b, 0x69, 0x3d, 0x30, 0xad, 0xf2, 0xd7, 0x24, 0x9f, 0xa2, 0xcf, 0x0a, 0xa7, 0x29, 0x53, 0xda, |
| 0xf4, 0xd7, 0x1b, 0x56, 0x2c, 0x84, 0xcc, 0x70, 0xc6, 0xa5, 0x30, 0xdd, 0x47, 0x3f, 0xba, 0xe0, |
| 0xe6, 0x5e, 0x19, 0x7b, 0x60, 0x52, 0x3b, 0x1f, 0xc0, 0x9a, 0x1d, 0x11, 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