View Source GoogleApi.AuthorizedBuyersMarketplace.V1.Model.FinalizedDeal (google_api_authorized_buyers_marketplace v0.6.0)

A finalized deal is a snapshot of the deal when both buyer and seller accept the deal. The buyer or seller can update the deal after it's been finalized and renegotiate on the deal targeting, terms and other fields, while at the same time the finalized snapshot of the deal can still be retrieved using this API. The finalized deal contains a copy of the deal as it existed when most recently finalized, as well as fields related to deal serving such as pause/resume status, RTB metrics, and more.

Attributes

  • deal (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Deal.t, default: nil) - A copy of the Deal made upon finalization. During renegotiation, this will reflect the last finalized deal before renegotiation was initiated.
  • dealPausingInfo (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.DealPausingInfo.t, default: nil) - Information related to deal pausing for the deal.
  • dealServingStatus (type: String.t, default: nil) - Serving status of the deal.
  • name (type: String.t, default: nil) - The resource name of the finalized deal. Format: buyers/{accountId}/finalizedDeals/{finalizedDealId}
  • readyToServe (type: boolean(), default: nil) - Whether the Programmatic Guaranteed deal is ready for serving.
  • rtbMetrics (type: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.RtbMetrics.t, default: nil) - Real-time bidding metrics for this deal.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AuthorizedBuyersMarketplace.V1.Model.FinalizedDeal{
  deal: GoogleApi.AuthorizedBuyersMarketplace.V1.Model.Deal.t() | nil,
  dealPausingInfo:
    GoogleApi.AuthorizedBuyersMarketplace.V1.Model.DealPausingInfo.t() | nil,
  dealServingStatus: String.t() | nil,
  name: String.t() | nil,
  readyToServe: boolean() | nil,
  rtbMetrics:
    GoogleApi.AuthorizedBuyersMarketplace.V1.Model.RtbMetrics.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.