Class VideoPosition
Video Position Targeting Criterion
Implements
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
AdSpot
Optional. The resource name of the custom ad spot to target. If set,
bumperType, podPosition, and positionType must be unset. Format:
networks/{network_code}/adSpots/{ad_spot_id}
Declaration
public string AdSpot { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AdSpotAsAdSpotName
AdSpotName-typed view over the AdSpot resource name property.
Declaration
public AdSpotName AdSpotAsAdSpotName { get; set; }
Property Value
| Type | Description |
|---|---|
| AdSpotName |
BumperType
Optional. The video bumper type to target. If set, adSpot, podPosition,
and positionType must be unset.
Declaration
public TargetedVideoBumperTypeEnum.Types.TargetedVideoBumperType BumperType { get; set; }
Property Value
| Type | Description |
|---|---|
| TargetedVideoBumperTypeEnum.Types.TargetedVideoBumperType |
HasAdSpot
Gets whether the "ad_spot" field is set
Declaration
public bool HasAdSpot { get; }
Property Value
| Type | Description |
|---|---|
| bool |
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. If set, adSpot,
bumperType, and positionType must be unset.
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 |