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

CreativeSize

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

Specifies the size of the creative.

interface CreativeSize {
allowedFormats?: "UNKNOWN" | "AUDIO"[];
companionSizes?: Size[];
creativeSizeType?:
| "CREATIVE_SIZE_TYPE_UNSPECIFIED"
| "REGULAR"
| "INTERSTITIAL"
| "VIDEO"
| "NATIVE";
nativeTemplate?:
| "UNKNOWN_NATIVE_TEMPLATE"
| "NATIVE_CONTENT_AD"
| "NATIVE_APP_INSTALL_AD"
| "NATIVE_VIDEO_CONTENT_AD"
| "NATIVE_VIDEO_APP_INSTALL_AD";
size?: Size;
skippableAdType?:
| "SKIPPABLE_AD_TYPE_UNSPECIFIED"
| "GENERIC"
| "INSTREAM_SELECT"
| "NOT_SKIPPABLE";
}

§Properties

§
allowedFormats?: "UNKNOWN" | "AUDIO"[]
[src]

What formats are allowed by the publisher. If this repeated field is empty then all formats are allowed. For example, if this field contains AllowedFormatType.AUDIO then the publisher only allows an audio ad (without any video).

§
companionSizes?: Size[]
[src]

For video creatives specifies the sizes of companion ads (if present). Companion sizes may be filled in only when creative_size_type = VIDEO

§
creativeSizeType?: "CREATIVE_SIZE_TYPE_UNSPECIFIED" | "REGULAR" | "INTERSTITIAL" | "VIDEO" | "NATIVE"
[src]

The creative size type.

§
nativeTemplate?: "UNKNOWN_NATIVE_TEMPLATE" | "NATIVE_CONTENT_AD" | "NATIVE_APP_INSTALL_AD" | "NATIVE_VIDEO_CONTENT_AD" | "NATIVE_VIDEO_APP_INSTALL_AD"
[src]

Output only. The native template for this creative. It will have a value only if creative_size_type = CreativeSizeType.NATIVE.

§
size?: Size
[src]

For regular or video creative size type, specifies the size of the creative

§
skippableAdType?: "SKIPPABLE_AD_TYPE_UNSPECIFIED" | "GENERIC" | "INSTREAM_SELECT" | "NOT_SKIPPABLE"
[src]

The type of skippable ad for this creative. It will have a value only if creative_size_type = CreativeSizeType.VIDEO.