class Google::Apis::DisplayvideoV1::RateDetails

The rate related settings of the inventory source.

Attributes

inventory_source_rate_type[RW]

The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, ` INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`. Corresponds to the JSON property `inventorySourceRateType` @return [String]

minimum_spend[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `minimumSpend` @return [Google::Apis::DisplayvideoV1::Money]

rate[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `rate` @return [Google::Apis::DisplayvideoV1::Money]

units_purchased[RW]

Required for guaranteed inventory sources. The number of impressions guaranteed by the seller. Corresponds to the JSON property `unitsPurchased` @return [Fixnum]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 8416
def update!(**args)
  @inventory_source_rate_type = args[:inventory_source_rate_type] if args.key?(:inventory_source_rate_type)
  @minimum_spend = args[:minimum_spend] if args.key?(:minimum_spend)
  @rate = args[:rate] if args.key?(:rate)
  @units_purchased = args[:units_purchased] if args.key?(:units_purchased)
end