Show / Hide Table of Contents

Class MastheadAd

Details for a Masthead Ad.

Inheritance
object
MastheadAd
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v2.Data
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class MastheadAd : IDirectResponseSchema

Properties

AutoplayVideoDuration

The duration of time the video will autoplay.

Declaration
[JsonProperty("autoplayVideoDuration")]
public virtual object AutoplayVideoDuration { get; set; }
Property Value
Type Description
object

AutoplayVideoStartMillisecond

The amount of time in milliseconds after which the video will start to play.

Declaration
[JsonProperty("autoplayVideoStartMillisecond")]
public virtual long? AutoplayVideoStartMillisecond { get; set; }
Property Value
Type Description
long?

CallToActionButtonLabel

The text on the call-to-action button.

Declaration
[JsonProperty("callToActionButtonLabel")]
public virtual string CallToActionButtonLabel { get; set; }
Property Value
Type Description
string

CallToActionFinalUrl

The destination URL for the call-to-action button.

Declaration
[JsonProperty("callToActionFinalUrl")]
public virtual string CallToActionFinalUrl { get; set; }
Property Value
Type Description
string

CallToActionTrackingUrl

The tracking URL for the call-to-action button.

Declaration
[JsonProperty("callToActionTrackingUrl")]
public virtual string CallToActionTrackingUrl { get; set; }
Property Value
Type Description
string

CompanionYoutubeVideos

The videos that appear next to the Masthead Ad on desktop. Can be no more than two.

Declaration
[JsonProperty("companionYoutubeVideos")]
public virtual IList<YoutubeVideoDetails> CompanionYoutubeVideos { get; set; }
Property Value
Type Description
IList<YoutubeVideoDetails>

Description

The description of the ad.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Headline

The headline of the ad.

Declaration
[JsonProperty("headline")]
public virtual string Headline { get; set; }
Property Value
Type Description
string

ShowChannelArt

Whether to show a background or banner that appears at the top of a YouTube page.

Declaration
[JsonProperty("showChannelArt")]
public virtual bool? ShowChannelArt { get; set; }
Property Value
Type Description
bool?

Video

The YouTube video used by the ad.

Declaration
[JsonProperty("video")]
public virtual YoutubeVideoDetails Video { get; set; }
Property Value
Type Description
YoutubeVideoDetails

VideoAspectRatio

The aspect ratio of the autoplaying YouTube video on the Masthead.

Declaration
[JsonProperty("videoAspectRatio")]
public virtual string VideoAspectRatio { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX