View Source GoogleApi.DisplayVideo.V1.Model.RateDetails (google_api_display_video v0.35.0)

The rate related settings of the inventory source.

Attributes

  • inventorySourceRateType (type: String.t, default: nil) - The rate type. Acceptable values are INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED, INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR, and INVENTORY_SOURCE_RATE_TYPE_CPD.
  • minimumSpend (type: GoogleApi.DisplayVideo.V1.Model.Money.t, default: nil) - Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources.
  • rate (type: GoogleApi.DisplayVideo.V1.Model.Money.t, default: nil) - The rate for the inventory source.
  • unitsPurchased (type: String.t, default: nil) - Required for guaranteed inventory sources. The number of impressions guaranteed by the seller.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DisplayVideo.V1.Model.RateDetails{
  inventorySourceRateType: String.t() | nil,
  minimumSpend: GoogleApi.DisplayVideo.V1.Model.Money.t() | nil,
  rate: GoogleApi.DisplayVideo.V1.Model.Money.t() | nil,
  unitsPurchased: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.