Class FrequencyCap
Represents a Frequency Cap that can be applied to an entity.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class FrequencyCap : IMessage<FrequencyCap>, IEquatable<FrequencyCap>, IDeepCloneable<FrequencyCap>, IBufferMessage, IMessage
Constructors
FrequencyCap()
Declaration
public FrequencyCap()
FrequencyCap(FrequencyCap)
Declaration
public FrequencyCap(FrequencyCap other)
Parameters
Type | Name | Description |
---|---|---|
FrequencyCap | other |
Properties
HasMaxImpressions
Gets whether the "max_impressions" field is set
Declaration
public bool HasMaxImpressions { get; }
Property Value
Type | Description |
---|---|
bool |
HasTimeAmount
Gets whether the "time_amount" field is set
Declaration
public bool HasTimeAmount { get; }
Property Value
Type | Description |
---|---|
bool |
HasTimeUnit
Gets whether the "time_unit" field is set
Declaration
public bool HasTimeUnit { get; }
Property Value
Type | Description |
---|---|
bool |
MaxImpressions
The maximum number of impressions for this frequency cap.
Declaration
public long MaxImpressions { get; set; }
Property Value
Type | Description |
---|---|
long |
TimeAmount
The number of time units over which the frequency cap is effective.
Declaration
public long TimeAmount { get; set; }
Property Value
Type | Description |
---|---|
long |
TimeUnit
The units of time of this frequency cap.
Declaration
public TimeUnitEnum.Types.TimeUnit TimeUnit { get; set; }
Property Value
Type | Description |
---|---|
TimeUnitEnum.Types.TimeUnit |