25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

184 lines
8.8 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/common/frequency_cap.proto
  3. package common // import "google.golang.org/genproto/googleapis/ads/googleads/v0/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/v0/enums"
  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 rule specifying the maximum number of times an ad (or some set of ads) can
  19. // be shown to a user over a particular time period.
  20. type FrequencyCapEntry struct {
  21. // The key of a particular frequency cap. There can be no more
  22. // than one frequency cap with the same key.
  23. Key *FrequencyCapKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  24. // Maximum number of events allowed during the time range by this cap.
  25. Cap *wrappers.Int32Value `protobuf:"bytes,2,opt,name=cap,proto3" json:"cap,omitempty"`
  26. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  27. XXX_unrecognized []byte `json:"-"`
  28. XXX_sizecache int32 `json:"-"`
  29. }
  30. func (m *FrequencyCapEntry) Reset() { *m = FrequencyCapEntry{} }
  31. func (m *FrequencyCapEntry) String() string { return proto.CompactTextString(m) }
  32. func (*FrequencyCapEntry) ProtoMessage() {}
  33. func (*FrequencyCapEntry) Descriptor() ([]byte, []int) {
  34. return fileDescriptor_frequency_cap_48b76bf03b3cadb7, []int{0}
  35. }
  36. func (m *FrequencyCapEntry) XXX_Unmarshal(b []byte) error {
  37. return xxx_messageInfo_FrequencyCapEntry.Unmarshal(m, b)
  38. }
  39. func (m *FrequencyCapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  40. return xxx_messageInfo_FrequencyCapEntry.Marshal(b, m, deterministic)
  41. }
  42. func (dst *FrequencyCapEntry) XXX_Merge(src proto.Message) {
  43. xxx_messageInfo_FrequencyCapEntry.Merge(dst, src)
  44. }
  45. func (m *FrequencyCapEntry) XXX_Size() int {
  46. return xxx_messageInfo_FrequencyCapEntry.Size(m)
  47. }
  48. func (m *FrequencyCapEntry) XXX_DiscardUnknown() {
  49. xxx_messageInfo_FrequencyCapEntry.DiscardUnknown(m)
  50. }
  51. var xxx_messageInfo_FrequencyCapEntry proto.InternalMessageInfo
  52. func (m *FrequencyCapEntry) GetKey() *FrequencyCapKey {
  53. if m != nil {
  54. return m.Key
  55. }
  56. return nil
  57. }
  58. func (m *FrequencyCapEntry) GetCap() *wrappers.Int32Value {
  59. if m != nil {
  60. return m.Cap
  61. }
  62. return nil
  63. }
  64. // A group of fields used as keys for a frequency cap.
  65. // There can be no more than one frequency cap with the same key.
  66. type FrequencyCapKey struct {
  67. // The level on which the cap is to be applied (e.g. ad group ad, ad group).
  68. // The cap is applied to all the entities of this level.
  69. Level enums.FrequencyCapLevelEnum_FrequencyCapLevel `protobuf:"varint,1,opt,name=level,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapLevelEnum_FrequencyCapLevel" json:"level,omitempty"`
  70. // The type of event that the cap applies to (e.g. impression).
  71. EventType enums.FrequencyCapEventTypeEnum_FrequencyCapEventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType" json:"event_type,omitempty"`
  72. // Unit of time the cap is defined at (e.g. day, week).
  73. TimeUnit enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit `protobuf:"varint,2,opt,name=time_unit,json=timeUnit,proto3,enum=google.ads.googleads.v0.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit" json:"time_unit,omitempty"`
  74. // Number of time units the cap lasts.
  75. TimeLength *wrappers.Int32Value `protobuf:"bytes,4,opt,name=time_length,json=timeLength,proto3" json:"time_length,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *FrequencyCapKey) Reset() { *m = FrequencyCapKey{} }
  81. func (m *FrequencyCapKey) String() string { return proto.CompactTextString(m) }
  82. func (*FrequencyCapKey) ProtoMessage() {}
  83. func (*FrequencyCapKey) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_frequency_cap_48b76bf03b3cadb7, []int{1}
  85. }
  86. func (m *FrequencyCapKey) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_FrequencyCapKey.Unmarshal(m, b)
  88. }
  89. func (m *FrequencyCapKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_FrequencyCapKey.Marshal(b, m, deterministic)
  91. }
  92. func (dst *FrequencyCapKey) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_FrequencyCapKey.Merge(dst, src)
  94. }
  95. func (m *FrequencyCapKey) XXX_Size() int {
  96. return xxx_messageInfo_FrequencyCapKey.Size(m)
  97. }
  98. func (m *FrequencyCapKey) XXX_DiscardUnknown() {
  99. xxx_messageInfo_FrequencyCapKey.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_FrequencyCapKey proto.InternalMessageInfo
  102. func (m *FrequencyCapKey) GetLevel() enums.FrequencyCapLevelEnum_FrequencyCapLevel {
  103. if m != nil {
  104. return m.Level
  105. }
  106. return enums.FrequencyCapLevelEnum_UNSPECIFIED
  107. }
  108. func (m *FrequencyCapKey) GetEventType() enums.FrequencyCapEventTypeEnum_FrequencyCapEventType {
  109. if m != nil {
  110. return m.EventType
  111. }
  112. return enums.FrequencyCapEventTypeEnum_UNSPECIFIED
  113. }
  114. func (m *FrequencyCapKey) GetTimeUnit() enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit {
  115. if m != nil {
  116. return m.TimeUnit
  117. }
  118. return enums.FrequencyCapTimeUnitEnum_UNSPECIFIED
  119. }
  120. func (m *FrequencyCapKey) GetTimeLength() *wrappers.Int32Value {
  121. if m != nil {
  122. return m.TimeLength
  123. }
  124. return nil
  125. }
  126. func init() {
  127. proto.RegisterType((*FrequencyCapEntry)(nil), "google.ads.googleads.v0.common.FrequencyCapEntry")
  128. proto.RegisterType((*FrequencyCapKey)(nil), "google.ads.googleads.v0.common.FrequencyCapKey")
  129. }
  130. func init() {
  131. proto.RegisterFile("google/ads/googleads/v0/common/frequency_cap.proto", fileDescriptor_frequency_cap_48b76bf03b3cadb7)
  132. }
  133. var fileDescriptor_frequency_cap_48b76bf03b3cadb7 = []byte{
  134. // 453 bytes of a gzipped FileDescriptorProto
  135. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xdd, 0x6a, 0xd4, 0x40,
  136. 0x14, 0x26, 0x1b, 0x15, 0x3b, 0x85, 0x8a, 0xb9, 0x5a, 0x2a, 0x14, 0xd9, 0x2b, 0x6f, 0x9c, 0x84,
  137. 0xf4, 0x42, 0x48, 0x7b, 0x93, 0xd6, 0x6d, 0x11, 0x17, 0x29, 0xa1, 0xee, 0x85, 0x04, 0x96, 0x69,
  138. 0x72, 0x1a, 0x83, 0x99, 0x1f, 0x33, 0x93, 0x95, 0x3c, 0x80, 0xf8, 0x1e, 0x5e, 0xfa, 0x28, 0x3e,
  139. 0x8a, 0xf8, 0x10, 0x32, 0x33, 0x49, 0x74, 0x5d, 0xb6, 0x25, 0x57, 0xf9, 0x32, 0xe7, 0xfb, 0x39,
  140. 0x39, 0x67, 0x82, 0xc2, 0x82, 0xf3, 0xa2, 0x02, 0x9f, 0xe4, 0xd2, 0xb7, 0x50, 0xa3, 0x75, 0xe0,
  141. 0x67, 0x9c, 0x52, 0xce, 0xfc, 0xdb, 0x1a, 0x3e, 0x37, 0xc0, 0xb2, 0x76, 0x95, 0x11, 0x81, 0x45,
  142. 0xcd, 0x15, 0xf7, 0x8e, 0x2c, 0x11, 0x93, 0x5c, 0xe2, 0x41, 0x83, 0xd7, 0x01, 0xb6, 0x9a, 0xc3,
  143. 0xd3, 0x5d, 0x9e, 0xc0, 0x1a, 0x2a, 0x37, 0x2d, 0x57, 0xb0, 0x06, 0xa6, 0x56, 0xaa, 0x15, 0x60,
  144. 0xdd, 0x0f, 0x5f, 0x8d, 0x51, 0x57, 0xb0, 0x86, 0xaa, 0x13, 0x9e, 0x8c, 0x11, 0xaa, 0x92, 0xc2,
  145. 0xaa, 0x61, 0xa5, 0xea, 0xc4, 0xdd, 0x37, 0xf9, 0xe6, 0xed, 0xa6, 0xb9, 0xf5, 0xbf, 0xd4, 0x44,
  146. 0x08, 0xa8, 0xa5, 0xad, 0xcf, 0xbe, 0x3a, 0xe8, 0xe9, 0x45, 0xef, 0x70, 0x4e, 0xc4, 0x9c, 0xa9,
  147. 0xba, 0xf5, 0x62, 0xe4, 0x7e, 0x82, 0x76, 0xea, 0x3c, 0x77, 0x5e, 0xec, 0x87, 0x3e, 0xbe, 0x7b,
  148. 0x2e, 0xf8, 0x5f, 0xfd, 0x5b, 0x68, 0x13, 0xad, 0xf5, 0x5e, 0x22, 0x37, 0x23, 0x62, 0x3a, 0x31,
  149. 0x16, 0xcf, 0x7a, 0x8b, 0xbe, 0x0d, 0xfc, 0x86, 0xa9, 0xe3, 0x70, 0x49, 0xaa, 0x06, 0x12, 0xcd,
  150. 0x9b, 0x7d, 0x73, 0xd1, 0x93, 0xff, 0x7c, 0xbc, 0x14, 0x3d, 0x34, 0x73, 0x30, 0x7d, 0x1c, 0x84,
  151. 0x17, 0x3b, 0xfb, 0x30, 0x83, 0xd8, 0x68, 0x63, 0xa1, 0x75, 0x73, 0xd6, 0xd0, 0xed, 0xd3, 0xc4,
  152. 0x9a, 0x7a, 0x14, 0xa1, 0xbf, 0x3b, 0x9a, 0xba, 0x26, 0xe2, 0xdd, 0x88, 0x88, 0xb9, 0x16, 0x5f,
  153. 0xb7, 0x02, 0xb6, 0x62, 0x86, 0x4a, 0xb2, 0x07, 0x3d, 0xf4, 0x4a, 0xb4, 0x37, 0xec, 0xc6, 0x4c,
  154. 0xe5, 0x20, 0x5c, 0x8c, 0x48, 0xbb, 0x2e, 0x29, 0xbc, 0x67, 0xa5, 0xda, 0x0a, 0xeb, 0x0b, 0xc9,
  155. 0x63, 0xd5, 0x21, 0xef, 0x14, 0xed, 0x9b, 0xa8, 0x0a, 0x58, 0xa1, 0x3e, 0x4e, 0x1f, 0xdc, 0xbf,
  156. 0x02, 0xa4, 0xf9, 0x0b, 0x43, 0x3f, 0xfb, 0xed, 0xa0, 0x59, 0xc6, 0xe9, 0x3d, 0x4b, 0x3f, 0xdb,
  157. 0xb8, 0x35, 0x57, 0xda, 0xf3, 0xca, 0xf9, 0xf0, 0xba, 0x13, 0x15, 0xbc, 0x22, 0xac, 0xc0, 0xbc,
  158. 0x2e, 0xfc, 0x02, 0x98, 0x49, 0xec, 0xaf, 0xae, 0x28, 0xe5, 0xae, 0x9f, 0xf2, 0xc4, 0x3e, 0xbe,
  159. 0x4f, 0xdc, 0xcb, 0x38, 0xfe, 0x31, 0x39, 0xba, 0xb4, 0x66, 0x71, 0x2e, 0xb1, 0x85, 0x1a, 0x2d,
  160. 0x03, 0x7c, 0x6e, 0x68, 0x3f, 0x7b, 0x42, 0x1a, 0xe7, 0x32, 0x1d, 0x08, 0xe9, 0x32, 0x48, 0x2d,
  161. 0xe1, 0xd7, 0x64, 0x66, 0x4f, 0xa3, 0x28, 0xce, 0x65, 0x14, 0x0d, 0x94, 0x28, 0x5a, 0x06, 0x51,
  162. 0x64, 0x49, 0x37, 0x8f, 0x4c, 0x77, 0xc7, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x05, 0x27, 0x7e,
  163. 0x57, 0x31, 0x04, 0x00, 0x00,
  164. }