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

ServingRestriction

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

Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS versus HTTP request, or the type of auction).

interface ServingRestriction {
contexts?: ServingContext[];
disapproval?: Disapproval;
disapprovalReasons?: Disapproval[];
status?: "STATUS_UNSPECIFIED" | "DISAPPROVAL" | "PENDING_REVIEW";
}

§Properties

§
contexts?: ServingContext[]
[src]

The contexts for the restriction.

§
disapproval?: Disapproval
[src]

Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.

§
disapprovalReasons?: Disapproval[]
[src]

Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; use disapproval field instead.

§
status?: "STATUS_UNSPECIFIED" | "DISAPPROVAL" | "PENDING_REVIEW"
[src]

The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).