class Google::Apis::DfareportingV2_1::DeliverySchedule

Delivery Schedule.

Attributes

frequency_cap[RW]

Frequency Cap. Corresponds to the JSON property `frequencyCap` @return [Google::Apis::DfareportingV2_1::FrequencyCap]

hard_cutoff[RW]

Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals. Corresponds to the JSON property `hardCutoff` @return [Boolean]

hard_cutoff?[RW]

Whether or not hard cutoff is enabled. If true, the ad will not serve after the end date and time. Otherwise the ad will continue to be served until it has reached its delivery goals. Corresponds to the JSON property `hardCutoff` @return [Boolean]

impression_ratio[RW]

Impression ratio for this ad. This ratio determines how often each ad is served relative to the others. For example, if ad A has an impression ratio of 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times as often as ad A. Must be between 1 and 10. Corresponds to the JSON property `impressionRatio` @return [String]

priority[RW]

Serving priority of an ad, with respect to other ads. The lower the priority number, the greater the priority with which it is served. Corresponds to the JSON property `priority` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4036
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 4041
def update!(**args)
  @frequency_cap = args[:frequency_cap] unless args[:frequency_cap].nil?
  @hard_cutoff = args[:hard_cutoff] unless args[:hard_cutoff].nil?
  @impression_ratio = args[:impression_ratio] unless args[:impression_ratio].nil?
  @priority = args[:priority] unless args[:priority].nil?
end