1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
|
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/common/frequency_cap.proto
package common
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
_ "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 rule specifying the maximum number of times an ad (or some set of ads) can
// be shown to a user over a particular time period.
type FrequencyCapEntry struct {
// The key of a particular frequency cap. There can be no more
// than one frequency cap with the same key.
Key *FrequencyCapKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Maximum number of events allowed during the time range by this cap.
Cap *wrappers.Int32Value `protobuf:"bytes,2,opt,name=cap,proto3" json:"cap,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FrequencyCapEntry) Reset() { *m = FrequencyCapEntry{} }
func (m *FrequencyCapEntry) String() string { return proto.CompactTextString(m) }
func (*FrequencyCapEntry) ProtoMessage() {}
func (*FrequencyCapEntry) Descriptor() ([]byte, []int) {
return fileDescriptor_9d5d792890a02906, []int{0}
}
func (m *FrequencyCapEntry) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FrequencyCapEntry.Unmarshal(m, b)
}
func (m *FrequencyCapEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FrequencyCapEntry.Marshal(b, m, deterministic)
}
func (m *FrequencyCapEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_FrequencyCapEntry.Merge(m, src)
}
func (m *FrequencyCapEntry) XXX_Size() int {
return xxx_messageInfo_FrequencyCapEntry.Size(m)
}
func (m *FrequencyCapEntry) XXX_DiscardUnknown() {
xxx_messageInfo_FrequencyCapEntry.DiscardUnknown(m)
}
var xxx_messageInfo_FrequencyCapEntry proto.InternalMessageInfo
func (m *FrequencyCapEntry) GetKey() *FrequencyCapKey {
if m != nil {
return m.Key
}
return nil
}
func (m *FrequencyCapEntry) GetCap() *wrappers.Int32Value {
if m != nil {
return m.Cap
}
return nil
}
// A group of fields used as keys for a frequency cap.
// There can be no more than one frequency cap with the same key.
type FrequencyCapKey struct {
// The level on which the cap is to be applied (e.g. ad group ad, ad group).
// The cap is applied to all the entities of this level.
Level enums.FrequencyCapLevelEnum_FrequencyCapLevel `protobuf:"varint,1,opt,name=level,proto3,enum=google.ads.googleads.v3.enums.FrequencyCapLevelEnum_FrequencyCapLevel" json:"level,omitempty"`
// The type of event that the cap applies to (e.g. impression).
EventType enums.FrequencyCapEventTypeEnum_FrequencyCapEventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=google.ads.googleads.v3.enums.FrequencyCapEventTypeEnum_FrequencyCapEventType" json:"event_type,omitempty"`
// Unit of time the cap is defined at (e.g. day, week).
TimeUnit enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit `protobuf:"varint,2,opt,name=time_unit,json=timeUnit,proto3,enum=google.ads.googleads.v3.enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit" json:"time_unit,omitempty"`
// Number of time units the cap lasts.
TimeLength *wrappers.Int32Value `protobuf:"bytes,4,opt,name=time_length,json=timeLength,proto3" json:"time_length,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FrequencyCapKey) Reset() { *m = FrequencyCapKey{} }
func (m *FrequencyCapKey) String() string { return proto.CompactTextString(m) }
func (*FrequencyCapKey) ProtoMessage() {}
func (*FrequencyCapKey) Descriptor() ([]byte, []int) {
return fileDescriptor_9d5d792890a02906, []int{1}
}
func (m *FrequencyCapKey) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FrequencyCapKey.Unmarshal(m, b)
}
func (m *FrequencyCapKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FrequencyCapKey.Marshal(b, m, deterministic)
}
func (m *FrequencyCapKey) XXX_Merge(src proto.Message) {
xxx_messageInfo_FrequencyCapKey.Merge(m, src)
}
func (m *FrequencyCapKey) XXX_Size() int {
return xxx_messageInfo_FrequencyCapKey.Size(m)
}
func (m *FrequencyCapKey) XXX_DiscardUnknown() {
xxx_messageInfo_FrequencyCapKey.DiscardUnknown(m)
}
var xxx_messageInfo_FrequencyCapKey proto.InternalMessageInfo
func (m *FrequencyCapKey) GetLevel() enums.FrequencyCapLevelEnum_FrequencyCapLevel {
if m != nil {
return m.Level
}
return enums.FrequencyCapLevelEnum_UNSPECIFIED
}
func (m *FrequencyCapKey) GetEventType() enums.FrequencyCapEventTypeEnum_FrequencyCapEventType {
if m != nil {
return m.EventType
}
return enums.FrequencyCapEventTypeEnum_UNSPECIFIED
}
func (m *FrequencyCapKey) GetTimeUnit() enums.FrequencyCapTimeUnitEnum_FrequencyCapTimeUnit {
if m != nil {
return m.TimeUnit
}
return enums.FrequencyCapTimeUnitEnum_UNSPECIFIED
}
func (m *FrequencyCapKey) GetTimeLength() *wrappers.Int32Value {
if m != nil {
return m.TimeLength
}
return nil
}
func init() {
proto.RegisterType((*FrequencyCapEntry)(nil), "google.ads.googleads.v3.common.FrequencyCapEntry")
proto.RegisterType((*FrequencyCapKey)(nil), "google.ads.googleads.v3.common.FrequencyCapKey")
}
func init() {
proto.RegisterFile("google/ads/googleads/v3/common/frequency_cap.proto", fileDescriptor_9d5d792890a02906)
}
var fileDescriptor_9d5d792890a02906 = []byte{
// 466 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x53, 0xcf, 0x6a, 0xd4, 0x40,
0x18, 0x27, 0x1b, 0x15, 0x3b, 0x85, 0x8a, 0x39, 0x2d, 0x55, 0x8a, 0xec, 0xc9, 0x8b, 0x33, 0x90,
0x1c, 0x84, 0xb4, 0x97, 0xb4, 0x6e, 0x8b, 0xb8, 0x48, 0x09, 0x75, 0x0f, 0x12, 0x58, 0xa6, 0xc9,
0xd7, 0x18, 0x4c, 0x66, 0xc6, 0x64, 0xb2, 0x92, 0x07, 0x10, 0xdf, 0xc3, 0xa3, 0x8f, 0xe2, 0xa3,
0x88, 0x0f, 0x21, 0x33, 0x93, 0x89, 0xae, 0xcb, 0xba, 0xe4, 0x94, 0x5f, 0xe6, 0xfb, 0xfd, 0xf9,
0xf2, 0x7d, 0x13, 0xe4, 0xe7, 0x9c, 0xe7, 0x25, 0x10, 0x9a, 0x35, 0xc4, 0x40, 0x85, 0xd6, 0x01,
0x49, 0x79, 0x55, 0x71, 0x46, 0xee, 0x6a, 0xf8, 0xd4, 0x02, 0x4b, 0xbb, 0x55, 0x4a, 0x05, 0x16,
0x35, 0x97, 0xdc, 0x3b, 0x31, 0x44, 0x4c, 0xb3, 0x06, 0x0f, 0x1a, 0xbc, 0x0e, 0xb0, 0xd1, 0x1c,
0x9f, 0xed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