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

DealTerms

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

The deal terms specify the details of a Product/deal. They specify things like price per buyer, the type of pricing model (for example, fixed price, auction) and expected impressions from the publisher.

interface DealTerms {
brandingType?: "BRANDING_TYPE_UNSPECIFIED" | "BRANDED" | "SEMI_TRANSPARENT";
description?: string;
estimatedGrossSpend?: Price;
estimatedImpressionsPerDay?: bigint;
guaranteedFixedPriceTerms?: GuaranteedFixedPriceTerms;
nonGuaranteedAuctionTerms?: NonGuaranteedAuctionTerms;
nonGuaranteedFixedPriceTerms?: NonGuaranteedFixedPriceTerms;
sellerTimeZone?: string;
}

§Properties

§
brandingType?: "BRANDING_TYPE_UNSPECIFIED" | "BRANDED" | "SEMI_TRANSPARENT"
[src]

Visibility of the URL in bid requests. (default: BRANDED)

§
description?: string
[src]

Publisher provided description for the terms.

§
estimatedGrossSpend?: Price
[src]

Non-binding estimate of the estimated gross spend for this deal. Can be set by buyer or seller.

§
estimatedImpressionsPerDay?: bigint
[src]

Non-binding estimate of the impressions served per day. Can be set by buyer or seller.

§
guaranteedFixedPriceTerms?: GuaranteedFixedPriceTerms
[src]

The terms for guaranteed fixed price deals.

§
nonGuaranteedAuctionTerms?: NonGuaranteedAuctionTerms
[src]

The terms for non-guaranteed auction deals.

§
nonGuaranteedFixedPriceTerms?: NonGuaranteedFixedPriceTerms
[src]

The terms for non-guaranteed fixed price deals.

§
sellerTimeZone?: string
[src]

The time zone name. For deals with Cost Per Day billing, defines the time zone used to mark the boundaries of a day. It should be an IANA TZ name, such as "America/Los_Angeles". For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.