class Google::Apis::Adexchangebuyer2V2beta1::FrequencyCap
Frequency cap.
Attributes
max_impressions[RW]
The maximum number of impressions that can be served to a user within the specified time period. Corresponds to the JSON property `maxImpressions` @return [Fixnum]
num_time_units[RW]
The amount of time, in the units specified by time_unit_type. Defines the amount of time over which impressions per user are counted and capped. Corresponds to the JSON property `numTimeUnits` @return [Fixnum]
time_unit_type[RW]
The time unit. Along with num_time_units
defines the amount of time over which impressions per user are counted and capped. Corresponds to the JSON property `timeUnitType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1813 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/adexchangebuyer2_v2beta1/classes.rb, line 1818 def update!(**args) @max_impressions = args[:max_impressions] if args.key?(:max_impressions) @num_time_units = args[:num_time_units] if args.key?(:num_time_units) @time_unit_type = args[:time_unit_type] if args.key?(:time_unit_type) end