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

AdUnit

import type { AdUnit } from "https://googleapis.deno.dev/v1/adsense:v2.ts";

Representation of an ad unit. An ad unit represents a saved ad unit with a specific set of ad settings that have been customized within an account.

interface AdUnit {
contentAdsSettings?: ContentAdsSettings;
displayName?: string;
readonly name?: string;
readonly reportingDimensionId?: string;
state?: "STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED";
}

§Properties

§
contentAdsSettings?: ContentAdsSettings
[src]

Required. Settings specific to content ads (AFC).

§
displayName?: string
[src]

Required. Display name of the ad unit, as provided when the ad unit was created.

§
readonly name?: string
[src]

Output only. Resource name of the ad unit. Format: accounts/{account}/adclients/{adclient}/adunits/{adunit}

§
readonly reportingDimensionId?: string
[src]

Output only. Unique ID of the ad unit as used in the AD_UNIT_ID reporting dimension.

§
state?: "STATE_UNSPECIFIED" | "ACTIVE" | "ARCHIVED"
[src]

Required. State of the ad unit.