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

PricePerBuyer

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

Used to specify pricing rules for buyers/advertisers. Each PricePerBuyer in a product can become 0 or 1 deals. To check if there is a PricePerBuyer for a particular buyer or buyer/advertiser pair, we look for the most specific matching rule - we first look for a rule matching the buyer and advertiser, next a rule with the buyer but an empty advertiser list, and otherwise look for a matching rule where no buyer is set.

interface PricePerBuyer {
advertiserIds?: string[];
buyer?: Buyer;
price?: Price;
}

§Properties

§
advertiserIds?: string[]
[src]

The list of advertisers for this price when associated with this buyer. If empty, all advertisers with this buyer pay this price.

§
buyer?: Buyer
[src]

The buyer who will pay this price. If unset, all buyers can pay this price (if the advertisers match, and there's no more specific rule matching the buyer).

§
price?: Price
[src]

The specified price.