FinalizedDeal
import type { FinalizedDeal } from "https://googleapis.deno.dev/v1/authorizedbuyersmarketplace:v1.ts";
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.
interface FinalizedDeal {
deal?: Deal;
dealPausingInfo?: DealPausingInfo;
dealServingStatus?:
| "DEAL_SERVING_STATUS_UNSPECIFIED"
| "ACTIVE"
| "ENDED"
| "PAUSED_BY_BUYER"
| "PAUSED_BY_SELLER";
name?: string;
readyToServe?: boolean;
rtbMetrics?: RtbMetrics;
}§Properties
§
dealPausingInfo?: DealPausingInfo
[src]Information related to deal pausing for the deal.
§
dealServingStatus?: "DEAL_SERVING_STATUS_UNSPECIFIED" | "ACTIVE" | "ENDED" | "PAUSED_BY_BUYER" | "PAUSED_BY_SELLER"
[src]Serving status of the deal.
§
name?: string
[src]The resource name of the finalized deal. Format:
buyers/{accountId}/finalizedDeals/{finalizedDealId}
§
rtbMetrics?: RtbMetrics
[src]Real-time bidding metrics for this deal.