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.
 
 
 

262 lines
15 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/common/criterion_category_availability.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v1/common"
  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 enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // Information of category availability, per advertising channel.
  20. type CriterionCategoryAvailability struct {
  21. // Channel types and subtypes that are available to the category.
  22. Channel *CriterionCategoryChannelAvailability `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
  23. // Locales that are available to the category for the channel.
  24. Locale []*CriterionCategoryLocaleAvailability `protobuf:"bytes,2,rep,name=locale,proto3" json:"locale,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *CriterionCategoryAvailability) Reset() { *m = CriterionCategoryAvailability{} }
  30. func (m *CriterionCategoryAvailability) String() string { return proto.CompactTextString(m) }
  31. func (*CriterionCategoryAvailability) ProtoMessage() {}
  32. func (*CriterionCategoryAvailability) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_criterion_category_availability_c1665ae897f7ccc6, []int{0}
  34. }
  35. func (m *CriterionCategoryAvailability) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_CriterionCategoryAvailability.Unmarshal(m, b)
  37. }
  38. func (m *CriterionCategoryAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_CriterionCategoryAvailability.Marshal(b, m, deterministic)
  40. }
  41. func (dst *CriterionCategoryAvailability) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_CriterionCategoryAvailability.Merge(dst, src)
  43. }
  44. func (m *CriterionCategoryAvailability) XXX_Size() int {
  45. return xxx_messageInfo_CriterionCategoryAvailability.Size(m)
  46. }
  47. func (m *CriterionCategoryAvailability) XXX_DiscardUnknown() {
  48. xxx_messageInfo_CriterionCategoryAvailability.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_CriterionCategoryAvailability proto.InternalMessageInfo
  51. func (m *CriterionCategoryAvailability) GetChannel() *CriterionCategoryChannelAvailability {
  52. if m != nil {
  53. return m.Channel
  54. }
  55. return nil
  56. }
  57. func (m *CriterionCategoryAvailability) GetLocale() []*CriterionCategoryLocaleAvailability {
  58. if m != nil {
  59. return m.Locale
  60. }
  61. return nil
  62. }
  63. // Information of advertising channel type and subtypes a category is available
  64. // in.
  65. type CriterionCategoryChannelAvailability struct {
  66. // Format of the channel availability. Can be ALL_CHANNELS (the rest of the
  67. // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type
  68. // will be set, the category is available to all sub types under it) or
  69. // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type,
  70. // advertising_channel_sub_type, and include_default_channel_sub_type will all
  71. // be set).
  72. AvailabilityMode enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v1.enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode" json:"availability_mode,omitempty"`
  73. // Channel type the category is available to.
  74. AdvertisingChannelType enums.AdvertisingChannelTypeEnum_AdvertisingChannelType `protobuf:"varint,2,opt,name=advertising_channel_type,json=advertisingChannelType,proto3,enum=google.ads.googleads.v1.enums.AdvertisingChannelTypeEnum_AdvertisingChannelType" json:"advertising_channel_type,omitempty"`
  75. // Channel subtypes under the channel type the category is available to.
  76. AdvertisingChannelSubType []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType `protobuf:"varint,3,rep,packed,name=advertising_channel_sub_type,json=advertisingChannelSubType,proto3,enum=google.ads.googleads.v1.enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType" json:"advertising_channel_sub_type,omitempty"`
  77. // Whether default channel sub type is included. For example,
  78. // advertising_channel_type being DISPLAY and include_default_channel_sub_type
  79. // being false means that the default display campaign where channel sub type
  80. // is not set is not included in this availability configuration.
  81. IncludeDefaultChannelSubType *wrappers.BoolValue `protobuf:"bytes,4,opt,name=include_default_channel_sub_type,json=includeDefaultChannelSubType,proto3" json:"include_default_channel_sub_type,omitempty"`
  82. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  83. XXX_unrecognized []byte `json:"-"`
  84. XXX_sizecache int32 `json:"-"`
  85. }
  86. func (m *CriterionCategoryChannelAvailability) Reset() { *m = CriterionCategoryChannelAvailability{} }
  87. func (m *CriterionCategoryChannelAvailability) String() string { return proto.CompactTextString(m) }
  88. func (*CriterionCategoryChannelAvailability) ProtoMessage() {}
  89. func (*CriterionCategoryChannelAvailability) Descriptor() ([]byte, []int) {
  90. return fileDescriptor_criterion_category_availability_c1665ae897f7ccc6, []int{1}
  91. }
  92. func (m *CriterionCategoryChannelAvailability) XXX_Unmarshal(b []byte) error {
  93. return xxx_messageInfo_CriterionCategoryChannelAvailability.Unmarshal(m, b)
  94. }
  95. func (m *CriterionCategoryChannelAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  96. return xxx_messageInfo_CriterionCategoryChannelAvailability.Marshal(b, m, deterministic)
  97. }
  98. func (dst *CriterionCategoryChannelAvailability) XXX_Merge(src proto.Message) {
  99. xxx_messageInfo_CriterionCategoryChannelAvailability.Merge(dst, src)
  100. }
  101. func (m *CriterionCategoryChannelAvailability) XXX_Size() int {
  102. return xxx_messageInfo_CriterionCategoryChannelAvailability.Size(m)
  103. }
  104. func (m *CriterionCategoryChannelAvailability) XXX_DiscardUnknown() {
  105. xxx_messageInfo_CriterionCategoryChannelAvailability.DiscardUnknown(m)
  106. }
  107. var xxx_messageInfo_CriterionCategoryChannelAvailability proto.InternalMessageInfo
  108. func (m *CriterionCategoryChannelAvailability) GetAvailabilityMode() enums.CriterionCategoryChannelAvailabilityModeEnum_CriterionCategoryChannelAvailabilityMode {
  109. if m != nil {
  110. return m.AvailabilityMode
  111. }
  112. return enums.CriterionCategoryChannelAvailabilityModeEnum_UNSPECIFIED
  113. }
  114. func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelType() enums.AdvertisingChannelTypeEnum_AdvertisingChannelType {
  115. if m != nil {
  116. return m.AdvertisingChannelType
  117. }
  118. return enums.AdvertisingChannelTypeEnum_UNSPECIFIED
  119. }
  120. func (m *CriterionCategoryChannelAvailability) GetAdvertisingChannelSubType() []enums.AdvertisingChannelSubTypeEnum_AdvertisingChannelSubType {
  121. if m != nil {
  122. return m.AdvertisingChannelSubType
  123. }
  124. return nil
  125. }
  126. func (m *CriterionCategoryChannelAvailability) GetIncludeDefaultChannelSubType() *wrappers.BoolValue {
  127. if m != nil {
  128. return m.IncludeDefaultChannelSubType
  129. }
  130. return nil
  131. }
  132. // Information about which locales a category is available in.
  133. type CriterionCategoryLocaleAvailability struct {
  134. // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and
  135. // language will be empty), COUNTRY (only country will be set), LANGUAGE (only
  136. // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will
  137. // be set).
  138. AvailabilityMode enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode `protobuf:"varint,1,opt,name=availability_mode,json=availabilityMode,proto3,enum=google.ads.googleads.v1.enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode" json:"availability_mode,omitempty"`
  139. // Code of the country.
  140. CountryCode *wrappers.StringValue `protobuf:"bytes,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
  141. // Code of the language.
  142. LanguageCode *wrappers.StringValue `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
  143. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  144. XXX_unrecognized []byte `json:"-"`
  145. XXX_sizecache int32 `json:"-"`
  146. }
  147. func (m *CriterionCategoryLocaleAvailability) Reset() { *m = CriterionCategoryLocaleAvailability{} }
  148. func (m *CriterionCategoryLocaleAvailability) String() string { return proto.CompactTextString(m) }
  149. func (*CriterionCategoryLocaleAvailability) ProtoMessage() {}
  150. func (*CriterionCategoryLocaleAvailability) Descriptor() ([]byte, []int) {
  151. return fileDescriptor_criterion_category_availability_c1665ae897f7ccc6, []int{2}
  152. }
  153. func (m *CriterionCategoryLocaleAvailability) XXX_Unmarshal(b []byte) error {
  154. return xxx_messageInfo_CriterionCategoryLocaleAvailability.Unmarshal(m, b)
  155. }
  156. func (m *CriterionCategoryLocaleAvailability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  157. return xxx_messageInfo_CriterionCategoryLocaleAvailability.Marshal(b, m, deterministic)
  158. }
  159. func (dst *CriterionCategoryLocaleAvailability) XXX_Merge(src proto.Message) {
  160. xxx_messageInfo_CriterionCategoryLocaleAvailability.Merge(dst, src)
  161. }
  162. func (m *CriterionCategoryLocaleAvailability) XXX_Size() int {
  163. return xxx_messageInfo_CriterionCategoryLocaleAvailability.Size(m)
  164. }
  165. func (m *CriterionCategoryLocaleAvailability) XXX_DiscardUnknown() {
  166. xxx_messageInfo_CriterionCategoryLocaleAvailability.DiscardUnknown(m)
  167. }
  168. var xxx_messageInfo_CriterionCategoryLocaleAvailability proto.InternalMessageInfo
  169. func (m *CriterionCategoryLocaleAvailability) GetAvailabilityMode() enums.CriterionCategoryLocaleAvailabilityModeEnum_CriterionCategoryLocaleAvailabilityMode {
  170. if m != nil {
  171. return m.AvailabilityMode
  172. }
  173. return enums.CriterionCategoryLocaleAvailabilityModeEnum_UNSPECIFIED
  174. }
  175. func (m *CriterionCategoryLocaleAvailability) GetCountryCode() *wrappers.StringValue {
  176. if m != nil {
  177. return m.CountryCode
  178. }
  179. return nil
  180. }
  181. func (m *CriterionCategoryLocaleAvailability) GetLanguageCode() *wrappers.StringValue {
  182. if m != nil {
  183. return m.LanguageCode
  184. }
  185. return nil
  186. }
  187. func init() {
  188. proto.RegisterType((*CriterionCategoryAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryAvailability")
  189. proto.RegisterType((*CriterionCategoryChannelAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryChannelAvailability")
  190. proto.RegisterType((*CriterionCategoryLocaleAvailability)(nil), "google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability")
  191. }
  192. func init() {
  193. proto.RegisterFile("google/ads/googleads/v1/common/criterion_category_availability.proto", fileDescriptor_criterion_category_availability_c1665ae897f7ccc6)
  194. }
  195. var fileDescriptor_criterion_category_availability_c1665ae897f7ccc6 = []byte{
  196. // 609 bytes of a gzipped FileDescriptorProto
  197. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0x41, 0x8e, 0xd3, 0x30,
  198. 0x14, 0x86, 0x95, 0x74, 0x34, 0x48, 0xee, 0x30, 0x82, 0x2c, 0x50, 0xa9, 0xca, 0xa8, 0x0a, 0x2c,
  199. 0xba, 0x72, 0xd4, 0xb2, 0x0b, 0x48, 0x90, 0xa6, 0x68, 0x36, 0x20, 0xaa, 0x0e, 0xea, 0x02, 0x2a,
  200. 0x22, 0x27, 0xf1, 0x04, 0x4b, 0x8e, 0x1d, 0x25, 0x4e, 0x51, 0xaf, 0xc0, 0x05, 0x58, 0x22, 0x58,
  201. 0x72, 0x14, 0x58, 0xb3, 0xe3, 0x04, 0xdc, 0x01, 0x09, 0x25, 0x76, 0x4a, 0x67, 0xda, 0x64, 0xda,
  202. 0x55, 0xdd, 0xf8, 0xbd, 0xef, 0xff, 0xdf, 0xcb, 0xb3, 0x03, 0x26, 0x11, 0xe7, 0x11, 0xc5, 0x16,
  203. 0x0a, 0x33, 0x4b, 0x2e, 0x8b, 0xd5, 0x72, 0x68, 0x05, 0x3c, 0x8e, 0x39, 0xb3, 0x82, 0x94, 0x08,
  204. 0x9c, 0x12, 0xce, 0xbc, 0x00, 0x09, 0x1c, 0xf1, 0x74, 0xe5, 0xa1, 0x25, 0x22, 0x14, 0xf9, 0x84,
  205. 0x12, 0xb1, 0x82, 0x49, 0xca, 0x05, 0x37, 0xce, 0x64, 0x2a, 0x44, 0x61, 0x06, 0xd7, 0x14, 0xb8,
  206. 0x1c, 0x42, 0x49, 0xe9, 0x3e, 0xaf, 0x53, 0xc1, 0x2c, 0x8f, 0x33, 0x0b, 0x85, 0x4b, 0x9c, 0x0a,
  207. 0x92, 0x11, 0x16, 0x79, 0xc1, 0x07, 0xc4, 0x18, 0xa6, 0x5e, 0x96, 0xfb, 0x9e, 0x58, 0x25, 0x58,
  208. 0x2a, 0x74, 0x9f, 0x1e, 0x4e, 0xd8, 0xc8, 0x9e, 0x36, 0x67, 0xef, 0x28, 0xb2, 0x82, 0x6c, 0x16,
  209. 0xeb, 0xc5, 0x3c, 0xac, 0x88, 0xaf, 0x0f, 0x26, 0x52, 0x1e, 0x20, 0x8a, 0x6b, 0x81, 0xaa, 0x85,
  210. 0x56, 0xf9, 0xcf, 0xcf, 0x2f, 0xad, 0x8f, 0x29, 0x4a, 0x12, 0x9c, 0x66, 0x6a, 0xbf, 0x57, 0x09,
  211. 0x26, 0xc4, 0x42, 0x8c, 0x71, 0x81, 0x04, 0xe1, 0x4c, 0xed, 0x9a, 0xbf, 0x35, 0xf0, 0xc0, 0xad,
  212. 0x34, 0x5d, 0x25, 0xe9, 0x6c, 0x48, 0x19, 0xef, 0xc1, 0x2d, 0x55, 0x53, 0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xfe, 0xd4, 0xc1, 0xc3, 0x3d, 0xe6,
  224. 0xd0, 0xf8, 0xd2, 0x30, 0x56, 0xe9, 0xa1, 0x63, 0xb5, 0xcd, 0xaf, 0x9f, 0xaa, 0xdd, 0xb1, 0x3b,
  225. 0x86, 0xea, 0x19, 0x38, 0x09, 0x78, 0xce, 0x44, 0x71, 0x75, 0x15, 0xde, 0xf4, 0xb2, 0x33, 0xbd,
  226. 0xad, 0xce, 0x5c, 0x88, 0x94, 0xb0, 0x48, 0xf6, 0xa6, 0xad, 0x32, 0xdc, 0x02, 0xe0, 0x80, 0xdb,
  227. 0x14, 0xb1, 0x28, 0x47, 0x11, 0x96, 0x84, 0xd6, 0x1e, 0x84, 0x93, 0x2a, 0xa5, 0x40, 0x8c, 0xff,
  228. 0x6a, 0xc0, 0x0c, 0x78, 0x7c, 0xc3, 0xc1, 0x1f, 0x9b, 0x8d, 0x17, 0xd5, 0xb4, 0xd0, 0x99, 0x6a,
  229. 0x6f, 0xd5, 0x87, 0x09, 0x46, 0xbc, 0xd0, 0x80, 0x3c, 0x8d, 0xac, 0x08, 0xb3, 0xd2, 0x45, 0x75,
  230. 0xe1, 0x26, 0x24, 0xab, 0xfb, 0x6e, 0x3d, 0x91, 0x3f, 0xdf, 0xf4, 0xd6, 0xb9, 0xe3, 0x7c, 0xd7,
  231. 0xcf, 0xce, 0x25, 0xcc, 0x09, 0x33, 0x28, 0x97, 0xc5, 0x6a, 0x3e, 0x84, 0x6e, 0x19, 0xf6, 0xa3,
  232. 0x0a, 0x58, 0x38, 0x61, 0xb6, 0x58, 0x07, 0x2c, 0xe6, 0xc3, 0x85, 0x0c, 0xf8, 0xa3, 0x9b, 0xf2,
  233. 0xa9, 0x6d, 0x3b, 0x61, 0x66, 0xdb, 0xeb, 0x10, 0xdb, 0x9e, 0x0f, 0x6d, 0x5b, 0x06, 0xf9, 0xc7,
  234. 0xa5, 0xbb, 0xc7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x59, 0x0b, 0xe4, 0x54, 0x07, 0x00,
  235. 0x00,
  236. }