Show / Hide Table of Contents

Class VideoPosition

Video Position Targeting Criterion

Inheritance
object
VideoPosition
Implements
IMessage<VideoPosition>
IEquatable<VideoPosition>
IDeepCloneable<VideoPosition>
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 VideoPosition : IMessage<VideoPosition>, IEquatable<VideoPosition>, IDeepCloneable<VideoPosition>, IBufferMessage, IMessage

Constructors

VideoPosition()

Declaration
public VideoPosition()

VideoPosition(VideoPosition)

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

Properties

BumperType

Optional. The video bumper type to target. This field must be unset in order to target a specific video position (e.g. position_type), pod position (e.g. pod_position), or custom ad spot (e.g. custom_spot_id).

Declaration
public TargetedVideoBumperTypeEnum.Types.TargetedVideoBumperType BumperType { get; set; }
Property Value
Type Description
TargetedVideoBumperTypeEnum.Types.TargetedVideoBumperType

HasBumperType

Gets whether the "bumper_type" field is set

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

HasMidrollIndex

Gets whether the "midroll_index" field is set

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

HasPodPosition

Gets whether the "pod_position" field is set

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

HasPositionType

Gets whether the "position_type" field is set

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

HasReverseMidrollIndex

Gets whether the "reverse_midroll_index" field is set

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

MidrollIndex

Optional. The index of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL.

Declaration
public long MidrollIndex { get; set; }
Property Value
Type Description
long

PodPosition

Optional. The video position within a pod to target. This field must be unset in order to target a specific video position (e.g. position_type), bumper type (e.g. bumper_type), or custom ad spot (e.g. custom_spot_id).

Declaration
public long PodPosition { get; set; }
Property Value
Type Description
long

PositionType

Optional. The position within a video to target. A video ad can target a position (pre-roll, all mid-rolls, or post-roll) or a specific mid-roll index.

Declaration
public VideoPositionEnum.Types.VideoPosition PositionType { get; set; }
Property Value
Type Description
VideoPositionEnum.Types.VideoPosition

ReverseMidrollIndex

Optional. The index from the back of the pod of the mid-roll to target. This field is ignored when targeting any video position (e.g. position_type) other than MIDROLL or if targeting a specific midroll index (e.g. midroll_index != 0).

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