$FrequencyCap class

Used by:

  • displayvideo:v2 : FrequencyCap
  • displayvideo:v3 : FrequencyCap

Constructors

$FrequencyCap({int? maxImpressions, int? maxViews, String? timeUnit, int? timeUnitCount, bool? unlimited})
$FrequencyCap.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxImpressions int?
The maximum number of times a user may be shown the same ad during this period.
getter/setter pair
maxViews int?
The maximum number of times a user may click-through or fully view an ad during this period until it is no longer served to them.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeUnit String?
The time unit in which the frequency cap will be applied.
getter/setter pair
timeUnitCount int?
The number of time_unit the frequency cap will last.
getter/setter pair
unlimited bool?
Whether unlimited frequency capping is applied.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited