MastheadAd
import type { MastheadAd } from "https://googleapis.deno.dev/v1/displayvideo:v4.ts";
Details for a Masthead Ad.
interface MastheadAd {
autoplayVideoDuration?: number;
autoplayVideoStartMillisecond?: bigint;
callToActionButtonLabel?: string;
callToActionFinalUrl?: string;
callToActionTrackingUrl?: string;
companionYoutubeVideos?: YoutubeVideoDetails[];
description?: string;
headline?: string;
showChannelArt?: boolean;
video?: YoutubeVideoDetails;
videoAspectRatio?: "VIDEO_ASPECT_RATIO_UNSPECIFIED" | "VIDEO_ASPECT_RATIO_WIDESCREEN" | "VIDEO_ASPECT_RATIO_FIXED_16_9";
}§Properties
§
autoplayVideoStartMillisecond?: bigint
[src]The amount of time in milliseconds after which the video will start to play.
§
companionYoutubeVideos?: YoutubeVideoDetails[]
[src]The videos that appear next to the Masthead Ad on desktop. Can be no more than two.
§
showChannelArt?: boolean
[src]Whether to show a background or banner that appears at the top of a YouTube page.
§
video?: YoutubeVideoDetails
[src]The YouTube video used by the ad.