Show / Hide Table of Contents

Class FrequencyCap

Settings that control the number of times a user may be shown with the same ad during a given time period.

Inheritance
object
FrequencyCap
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v1.Data
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class FrequencyCap : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MaxImpressions

The maximum number of times a user may be shown the same ad during this period. Must be greater than 0. Required when unlimited is false and max_views is not set.

Declaration
[JsonProperty("maxImpressions")]
public virtual int? MaxImpressions { get; set; }
Property Value
Type Description
int?

TimeUnit

The time unit in which the frequency cap will be applied. Required when unlimited is false.

Declaration
[JsonProperty("timeUnit")]
public virtual string TimeUnit { get; set; }
Property Value
Type Description
string

TimeUnitCount

The number of time_unit the frequency cap will last. Required when unlimited is false. The following restrictions apply based on the value of time_unit: * TIME_UNIT_LIFETIME - this field is output only and will default to 1 * TIME_UNIT_MONTHS - must be between 1 and 2 * TIME_UNIT_WEEKS - must be between 1 and 4 * TIME_UNIT_DAYS - must be between 1 and 6 * TIME_UNIT_HOURS - must be between 1 and 23 * TIME_UNIT_MINUTES - must be between 1 and 59

Declaration
[JsonProperty("timeUnitCount")]
public virtual int? TimeUnitCount { get; set; }
Property Value
Type Description
int?

Unlimited

Whether unlimited frequency capping is applied. When this field is set to true, the remaining frequency cap fields are not applicable.

Declaration
[JsonProperty("unlimited")]
public virtual bool? Unlimited { get; set; }
Property Value
Type Description
bool?

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX