Deal
import type { Deal } from "https://googleapis.deno.dev/v1/authorizedbuyersmarketplace:v1.ts";
A deal represents a segment of inventory for displaying ads that contains the terms and targeting information that is used for serving as well as the deal stats and status. Note: A proposal may contain multiple deals.
§Properties
Output only. When the client field is populated, this field refers to the
buyer who creates and manages the client buyer and gets billed on behalf of
the client buyer; when the buyer field is populated, this field is the same
value as buyer; when the deal belongs to a media planner account, this
field will be empty. Format : buyers/{buyerAccountId}
Output only. Refers to a buyer in Real-time Bidding API's Buyer resource.
Format: buyers/{buyerAccountId}
Output only. Refers to a Client. Format:
buyers/{buyerAccountId}/clients/{clientAccountid}
Output only. Metadata about the creatives of this deal.
Output only. Type of deal.
Output only. Specifies the pacing set by the publisher.
Output only. The name of the deal. Maximum length of 255 unicode characters is allowed. Control characters are not allowed. Buyers cannot update this field. Note: Not to be confused with name, which is a unique identifier of the deal.
Output only. If set, this field contains the list of DSP specific seat ids set by media planners that are eligible to transact on this deal. The seat ID is in the calling DSP's namespace.
Proposed flight end time of the deal. This will generally be stored in a granularity of a second. A value is not necessary for Private Auction deals.
Proposed flight start time of the deal. This will generally be stored in the granularity of one second since deal serving starts at seconds boundary. Any time specified with more granularity (for example, in milliseconds) will be truncated towards the start of time in seconds.
Output only. Refers to a buyer in Real-time Bidding API's Buyer resource. This field represents a media planner (For example, agency or big advertiser).
Immutable. The unique identifier of the deal. Auto-generated by the server when a deal is created. Format: buyers/{accountId}/proposals/{proposalId}/deals/{dealId}
The terms for preferred deals.
The terms for private auction deals.
The terms for programmatic guaranteed deals.
Output only. The revision number for the proposal and is the same value as proposal.proposal_revision. Each update to deal causes the proposal revision number to auto-increment. The buyer keeps track of the last revision number they know of and pass it in when making an update. If the head revision number on the server has since incremented, then an ABORTED error is returned during the update operation to let the buyer know that a subsequent update was made.
Immutable. Reference to the seller on the deal. Format:
buyers/{buyerAccountId}/publisherProfiles/{publisherProfileId}
Specifies the subset of inventory targeted by the deal. Can be updated by the buyer before the deal is finalized.