Show / Hide Table of Contents

Class VastInfo

Fields common to Video Ad Serving Template (VAST) creatives.

Inheritance
object
VastInfo
Implements
IMessage<VastInfo>
IEquatable<VastInfo>
IDeepCloneable<VastInfo>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class VastInfo : IMessage<VastInfo>, IEquatable<VastInfo>, IDeepCloneable<VastInfo>, IBufferMessage, IMessage

Constructors

VastInfo()

Declaration
public VastInfo()

VastInfo(VastInfo)

Declaration
public VastInfo(VastInfo other)
Parameters
Type Name Description
VastInfo other

Properties

AdId

Optional. The ad id associated with the video as defined by the adIdType registry. This field is required if adIdType is not NONE.

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

AdIdType

Optional. The registry which the ad id of this creative belongs to. This field defaults to NONE.

Declaration
public VastAdIdTypeEnum.Types.VastAdIdType AdIdType { get; set; }
Property Value
Type Description
VastAdIdTypeEnum.Types.VastAdIdType

AllowDurationOverride

Optional. Allows the creative duration to differ from the actual asset durations.

Declaration
public bool AllowDurationOverride { get; set; }
Property Value
Type Description
bool

CompanionCreatives

Optional. The companion creatives that are associated with this creative. Format: "networks/{network_code}/creatives/{creative_id}"

Declaration
public RepeatedField<string> CompanionCreatives { get; }
Property Value
Type Description
RepeatedField<string>

CompanionCreativesAsCreativeNames

CreativeName-typed view over the CompanionCreatives resource name property.

Declaration
public ResourceNameList<CreativeName> CompanionCreativesAsCreativeNames { get; }
Property Value
Type Description
ResourceNameList<CreativeName>

CreativeSet

Output only. The resource name of the creative set. Format: "networks/{network_code}/creativeSets/{creative_set_id}"

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

CreativeSetAsCreativeSetName

CreativeSetName-typed view over the CreativeSet resource name property.

Declaration
public CreativeSetName CreativeSetAsCreativeSetName { get; set; }
Property Value
Type Description
CreativeSetName

CreativeSetDisplayName

Output only. The display name of the creative set.

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

CustomParameters

Optional. A comma separated key=value list of parameters that will be supplied to the creative, written into the VAST AdParameters node.

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

DestinationUrl

Optional. The URL that the user is directed to if they click on the creative. This attribute is required unless the destinationUrlType is NONE, and has a maximum length of 1024 characters.

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

DestinationUrlType

Optional. The action that should be performed if the user clicks on the creative. This attribute defaults to CLICK_TO_WEB.

Declaration
public CreativeDestinationUrlTypeEnum.Types.CreativeDestinationUrlType DestinationUrlType { get; set; }
Property Value
Type Description
CreativeDestinationUrlTypeEnum.Types.CreativeDestinationUrlType

Duration

Optional. The expected duration of this creative.

Declaration
public Duration Duration { get; set; }
Property Value
Type Description
Duration

HasAdId

Gets whether the "ad_id" field is set

Declaration
public bool HasAdId { get; }
Property Value
Type Description
bool

HasAdIdType

Gets whether the "ad_id_type" field is set

Declaration
public bool HasAdIdType { get; }
Property Value
Type Description
bool

HasAllowDurationOverride

Gets whether the "allow_duration_override" field is set

Declaration
public bool HasAllowDurationOverride { get; }
Property Value
Type Description
bool

HasCreativeSet

Gets whether the "creative_set" field is set

Declaration
public bool HasCreativeSet { get; }
Property Value
Type Description
bool

HasCreativeSetDisplayName

Gets whether the "creative_set_display_name" field is set

Declaration
public bool HasCreativeSetDisplayName { get; }
Property Value
Type Description
bool

HasCustomParameters

Gets whether the "custom_parameters" field is set

Declaration
public bool HasCustomParameters { get; }
Property Value
Type Description
bool

HasDestinationUrl

Gets whether the "destination_url" field is set

Declaration
public bool HasDestinationUrl { get; }
Property Value
Type Description
bool

HasDestinationUrlType

Gets whether the "destination_url_type" field is set

Declaration
public bool HasDestinationUrlType { get; }
Property Value
Type Description
bool

HasSkippableAdType

Gets whether the "skippable_ad_type" field is set

Declaration
public bool HasSkippableAdType { get; }
Property Value
Type Description
bool

HasVastPreviewUrl

Gets whether the "vast_preview_url" field is set

Declaration
public bool HasVastPreviewUrl { get; }
Property Value
Type Description
bool

SkippableAdType

Optional. The type of skippable ad.

Declaration
public SkippableAdTypeEnum.Types.SkippableAdType SkippableAdType { get; set; }
Property Value
Type Description
SkippableAdTypeEnum.Types.SkippableAdType

TrackingUrls

Optional. URLs that will be pinged when conversion events happen.

Declaration
public RepeatedField<VideoTrackingUrl> TrackingUrls { get; }
Property Value
Type Description
RepeatedField<VideoTrackingUrl>

VastPreviewUrl

Output only. An ad tag URL that will return a preview of the VAST XML response specific to this creative.

Declaration
public string VastPreviewUrl { get; set; }
Property Value
Type Description
string
In this article
Back to top Generated by DocFX