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.
 
 
 

191 lines
8.9 KiB

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