class Google::Apis::DfareportingV3_3::FrequencyCap

Frequency Cap.

Attributes

duration[RW]

Duration of time, in seconds, for this frequency cap. The maximum duration is 90 days. Acceptable values are 1 to 7776000, inclusive. Corresponds to the JSON property `duration` @return [Fixnum]

impressions[RW]

Number of times an individual user can be served the ad within the specified duration. Acceptable values are 1 to 15, inclusive. Corresponds to the JSON property `impressions` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_3/classes.rb, line 6368
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_3/classes.rb, line 6373
def update!(**args)
  @duration = args[:duration] if args.key?(:duration)
  @impressions = args[:impressions] if args.key?(:impressions)
end