Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Product

import type { Product } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";

A product is a segment of inventory that a seller wants to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.

interface Product {
availableEndTime?: Date;
availableStartTime?: Date;
createTime?: Date;
creatorContacts?: ContactInformation[];
displayName?: string;
hasCreatorSignedOff?: boolean;
productId?: string;
productRevision?: bigint;
publisherProfileId?: string;
seller?: Seller;
syndicationProduct?:
| "SYNDICATION_PRODUCT_UNSPECIFIED"
| "CONTENT"
| "MOBILE"
| "VIDEO"
| "GAMES";
targetingCriterion?: TargetingCriteria[];
terms?: DealTerms;
updateTime?: Date;
webPropertyCode?: string;
}

§Properties

§
availableEndTime?: Date
[src]

The proposed end time for the deal. The field will be truncated to the order of seconds during serving.

§
availableStartTime?: Date
[src]

Inventory availability dates. The start time will be truncated to seconds during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34 when serving.

§
createTime?: Date
[src]

Creation time.

§
creatorContacts?: ContactInformation[]
[src]

Optional contact information for the creator of this product.

§
displayName?: string
[src]

The display name for this product as set by the seller.

§
hasCreatorSignedOff?: boolean
[src]

If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false.

§
productId?: string
[src]

The unique ID for the product.

§
productRevision?: bigint
[src]

The revision number of the product (auto-assigned by Marketplace).

§
publisherProfileId?: string
[src]

An ID which can be used by the Publisher Profile API to get more information about the seller that created this product.

§
seller?: Seller
[src]

Information about the seller that created this product.

§
syndicationProduct?: "SYNDICATION_PRODUCT_UNSPECIFIED" | "CONTENT" | "MOBILE" | "VIDEO" | "GAMES"
[src]

The syndication product associated with the deal.

§
targetingCriterion?: TargetingCriteria[]
[src]

Targeting that is shared between the buyer and the seller. Each targeting criterion has a specified key and for each key there is a list of inclusion value or exclusion values.

§

The negotiable terms of the deal.

§
updateTime?: Date
[src]

Time of last update.

§
webPropertyCode?: string
[src]

The web-property code for the seller. This needs to be copied as is when adding a new deal to a proposal.