class Google::Apis::DisplayvideoV1::RateDetails
The rate related settings of the inventory source.
Attributes
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]
Represents an amount of money with its currency type. Corresponds to the JSON property `minimumSpend` @return [Google::Apis::DisplayvideoV1::Money]
Represents an amount of money with its currency type. Corresponds to the JSON property `rate` @return [Google::Apis::DisplayvideoV1::Money]
Required for guaranteed inventory sources. The number of impressions guaranteed by the seller. Corresponds to the JSON property `unitsPurchased` @return [Fixnum]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 8411 def initialize(**args) update!(**args) end
Public Instance Methods
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