class Google::Apis::DfareportingV2_1::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_1/classes.rb, line 5740
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_1/classes.rb, line 5745
def update!(**args)
  @duration = args[:duration] unless args[:duration].nil?
  @impressions = args[:impressions] unless args[:impressions].nil?
end