Class VastRedirectCreativeDetails
A Creative that points to an externally hosted VAST ad and is served via VAST XML as a VAST Wrapper.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class VastRedirectCreativeDetails : IMessage<VastRedirectCreativeDetails>, IEquatable<VastRedirectCreativeDetails>, IDeepCloneable<VastRedirectCreativeDetails>, IBufferMessage, IMessage
Constructors
VastRedirectCreativeDetails()
Declaration
public VastRedirectCreativeDetails()
VastRedirectCreativeDetails(VastRedirectCreativeDetails)
Declaration
public VastRedirectCreativeDetails(VastRedirectCreativeDetails other)
Parameters
| Type | Name | Description |
|---|---|---|
| VastRedirectCreativeDetails | other |
Properties
Audio
Optional. Whether the 3rd party VAST XML points to an audio ad. When true,
size will always be 1x1.
Declaration
public bool Audio { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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
Required. The duration of the VAST ad.
Declaration
public Duration Duration { get; set; }
Property Value
| Type | Description |
|---|---|
| Duration |
HasAudio
Gets whether the "audio" field is set
Declaration
public bool HasAudio { 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 |
HasProgrammaticDemandSource
Gets whether the "programmatic_demand_source" field is set
Declaration
public bool HasProgrammaticDemandSource { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasServerSideUnwrappingDisabled
Gets whether the "server_side_unwrapping_disabled" field is set
Declaration
public bool HasServerSideUnwrappingDisabled { 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 |
HasVastPricingEnabled
Gets whether the "vast_pricing_enabled" field is set
Declaration
public bool HasVastPricingEnabled { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasVastRedirectType
Gets whether the "vast_redirect_type" field is set
Declaration
public bool HasVastRedirectType { get; }
Property Value
| Type | Description |
|---|---|
| bool |
HasVastXmlUrl
Gets whether the "vast_xml_url" field is set
Declaration
public bool HasVastXmlUrl { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ProgrammaticDemandSource
Optional. Whether this is a redirect to a programmatic demand source.
Declaration
public bool ProgrammaticDemandSource { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ServerSideUnwrappingDisabled
Optional. Whether server-side unwrapping is disabled.
Declaration
public bool ServerSideUnwrappingDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
VastPricingEnabled
Optional. Whether pricing information from the VAST response will be used during ad selection.
Declaration
public bool VastPricingEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
VastRedirectType
Required. The type of VAST ad that this redirects to.
Declaration
public VastRedirectTypeEnum.Types.VastRedirectType VastRedirectType { get; set; }
Property Value
| Type | Description |
|---|---|
| VastRedirectTypeEnum.Types.VastRedirectType |
VastXmlUrl
Required. The URL where the 3rd party VAST XML is hosted.
Declaration
public string VastXmlUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |