class Google::Apis::DfareportingV2_3::FrequencyCap
Frequency Cap.
Attributes
duration[RW]
Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days in seconds, or 7,776,000. Corresponds to the JSON property `duration` @return [String]
impressions[RW]
Number of times an individual user can be served the ad within the specified duration. The maximum allowed is 15. Corresponds to the JSON property `impressions` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 5806 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 5811 def update!(**args) @duration = args[:duration] if args.key?(:duration) @impressions = args[:impressions] if args.key?(:impressions) end