Deal
import type { Deal } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";
A deal represents a segment of inventory for displaying ads on. A proposal can contain multiple deals. A deal contains the terms and targeting information that is used for serving.
§Properties
Optional. 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.
Buyer private data (hidden from seller).
The product ID from which this deal was created. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Optional. Revision number of the product that the deal was created from.
If present on create, and the server product_revision
has advanced since
the passed-in create_product_revision
, an ABORTED
error will be
returned. Note: This field may be set only when creating the resource.
Modifying this field while updating the resource will result in an error.
Output only. Specifies the creative pre-approval policy.
Output only. Restricitions about the creatives associated with the deal (for example, size) This is available for Programmatic Guaranteed/Preferred Deals in Ad Manager.
Output only. Specifies whether the creative is safeFrame compatible.
Output only. Metadata about the serving status of this deal.
The set of fields around delivery control that are interesting for a buyer to see but are non-negotiable. These are set by the publisher.
Output only. The external deal ID assigned to this deal once the deal is finalized. This is the deal ID that shows up in serving/reporting etc.
Output only. True, if the buyside inventory setup is complete for this deal.
Output only. Specifies the creative source for programmatic deals. PUBLISHER means creative is provided by seller and ADVERTISER means creative is provided by buyer.
Output only. Seller contact information for the deal.
The syndication product associated with the deal. Note: This field may be set only when creating the resource. Modifying this field while updating the resource will result in an error.
Output only. Specifies the subset of inventory targeted by the deal.
The shared targeting visible to buyers and sellers. Each shared targeting entity is AND'd together.