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/adsensehost:v4.1.ts";
interface AdUnit {
code?: string;
contentAdsSettings?: {
backupOption?: {
color?: string;
type?: string;
url?: string;
}
;
size?: string;
type?: string;
}
;
customStyle?: AdStyle;
id?: string;
kind?: string;
mobileContentAdsSettings?: {
markupLanguage?: string;
scriptingLanguage?: string;
size?: string;
type?: string;
}
;
name?: string;
status?: string;
}

§Properties

§
code?: string
[src]

Identity code of this ad unit, not necessarily unique across ad clients.

§
contentAdsSettings?: {
backupOption?: {
color?: string;
type?: string;
url?: string;
}
;
size?: string;
type?: string;
}
[src]

Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).

§
customStyle?: AdStyle
[src]

Custom style information specific to this ad unit.

§
id?: string
[src]

Unique identifier of this ad unit. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

§
kind?: string
[src]

Kind of resource this is, in this case adsensehost#adUnit.

§
mobileContentAdsSettings?: {
markupLanguage?: string;
scriptingLanguage?: string;
size?: string;
type?: string;
}
[src]

Settings specific to WAP mobile content ads (AFMC - deprecated).

§
name?: string
[src]

Name of this ad unit.

§
status?: string
[src]

Status of this ad unit. Possible values are: NEW: Indicates that the ad unit was created within the last seven days and does not yet have any activity associated with it. ACTIVE: Indicates that there has been activity on this ad unit in the last seven days. INACTIVE: Indicates that there has been no activity on this ad unit in the last seven days.