Interface VideoPositionOrBuilder (0.27.0)

public interface VideoPositionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBumperType()

public abstract TargetedVideoBumperTypeEnum.TargetedVideoBumperType getBumperType()

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).

optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TargetedVideoBumperTypeEnum.TargetedVideoBumperType

The bumperType.

getBumperTypeValue()

public abstract int getBumperTypeValue()

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).

optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for bumperType.

getMidrollIndex()

public abstract long getMidrollIndex()

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.

optional int64 midroll_index = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The midrollIndex.

getPodPosition()

public abstract long getPodPosition()

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).

optional int64 pod_position = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The podPosition.

getPositionType()

public abstract VideoPositionEnum.VideoPosition getPositionType()

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.

optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
VideoPositionEnum.VideoPosition

The positionType.

getPositionTypeValue()

public abstract int getPositionTypeValue()

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.

optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for positionType.

getReverseMidrollIndex()

public abstract long getReverseMidrollIndex()

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).

optional int64 reverse_midroll_index = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The reverseMidrollIndex.

hasBumperType()

public abstract boolean hasBumperType()

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).

optional .google.ads.admanager.v1.TargetedVideoBumperTypeEnum.TargetedVideoBumperType bumper_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bumperType field is set.

hasMidrollIndex()

public abstract boolean hasMidrollIndex()

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.

optional int64 midroll_index = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the midrollIndex field is set.

hasPodPosition()

public abstract boolean hasPodPosition()

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).

optional int64 pod_position = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the podPosition field is set.

hasPositionType()

public abstract boolean hasPositionType()

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.

optional .google.ads.admanager.v1.VideoPositionEnum.VideoPosition position_type = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the positionType field is set.

hasReverseMidrollIndex()

public abstract boolean hasReverseMidrollIndex()

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).

optional int64 reverse_midroll_index = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the reverseMidrollIndex field is set.