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

ProductAccount

import type { ProductAccount } from "https://googleapis.deno.dev/v1/datamanager:v1.ts";

Represents a specific account.

interface ProductAccount {
accountId?: string;
accountType?:
| "ACCOUNT_TYPE_UNSPECIFIED"
| "GOOGLE_ADS"
| "DISPLAY_VIDEO_PARTNER"
| "DISPLAY_VIDEO_ADVERTISER"
| "DATA_PARTNER";
product?:
| "PRODUCT_UNSPECIFIED"
| "GOOGLE_ADS"
| "DISPLAY_VIDEO_PARTNER"
| "DISPLAY_VIDEO_ADVERTISER"
| "DATA_PARTNER";
}

§Properties

§
accountId?: string
[src]

Required. The ID of the account. For example, your Google Ads account ID.

§
accountType?: "ACCOUNT_TYPE_UNSPECIFIED" | "GOOGLE_ADS" | "DISPLAY_VIDEO_PARTNER" | "DISPLAY_VIDEO_ADVERTISER" | "DATA_PARTNER"
[src]

Optional. The type of the account. For example, GOOGLE_ADS. Either account_type or the deprecated product is required. If both are set, the values must match.

§
product?: "PRODUCT_UNSPECIFIED" | "GOOGLE_ADS" | "DISPLAY_VIDEO_PARTNER" | "DISPLAY_VIDEO_ADVERTISER" | "DATA_PARTNER"
[src]

Deprecated. Use account_type instead.