class Google::Apis::AuthorizedbuyersmarketplaceV1::FrequencyCap
Message contains details about publisher-set frequency caps of the delivery.
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]
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]
time_units_count[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 ‘timeUnitsCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 913 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/authorizedbuyersmarketplace_v1/classes.rb, line 918 def update!(**args) @max_impressions = args[:max_impressions] if args.key?(:max_impressions) @time_unit_type = args[:time_unit_type] if args.key?(:time_unit_type) @time_units_count = args[:time_units_count] if args.key?(:time_units_count) end