public interface VideoPositionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAdSpot()
public abstract String getAdSpot() 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}
optional string ad_spot = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The adSpot. |
getAdSpotBytes()
public abstract ByteString getAdSpotBytes() 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}
optional string ad_spot = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for adSpot. |
getBumperType()
public abstract TargetedVideoBumperTypeEnum.TargetedVideoBumperType getBumperType() Optional. The video bumper type to target. If set, adSpot, podPosition,
and positionType must be unset.
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. If set, adSpot, podPosition,
and positionType must be unset.
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. If set, adSpot,
bumperType, and positionType must be unset.
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. |
hasAdSpot()
public abstract boolean hasAdSpot() 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}
optional string ad_spot = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the adSpot field is set. |
hasBumperType()
public abstract boolean hasBumperType() Optional. The video bumper type to target. If set, adSpot, podPosition,
and positionType must be unset.
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. If set, adSpot,
bumperType, and positionType must be unset.
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. |