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
§
contentAdsSettings?: {
[src]backupOption?: {
color?: string;
type?: string;
url?: string;
}; size?: string;
type?: string;
}Settings specific to content ads (AFC) and highend mobile content ads (AFMC - deprecated).
§
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.
§
mobileContentAdsSettings?: {
[src]markupLanguage?: string;
scriptingLanguage?: string;
size?: string;
type?: string;
}Settings specific to WAP mobile content ads (AFMC - deprecated).
§
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.