public class VideoPositionTargeting extends Object
Example positions could be pre-roll (before the video plays),
post-roll (after a video has completed playback) and
mid-roll (during video playback).
Java class for VideoPositionTargeting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VideoPositionTargeting">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="targetedPositions" type="{https://www.google.com/apis/ads/publisher/v201802}VideoPositionTarget" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<VideoPositionTarget> |
targetedPositions |
| Constructor and Description |
|---|
VideoPositionTargeting() |
| Modifier and Type | Method and Description |
|---|---|
List<VideoPositionTarget> |
getTargetedPositions()
Gets the value of the targetedPositions property.
|
protected List<VideoPositionTarget> targetedPositions
public List<VideoPositionTarget> getTargetedPositions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the targetedPositions property.
For example, to add a new item, do as follows:
getTargetedPositions().add(newItem);
Objects of the following type(s) are allowed in the list
VideoPositionTarget
Copyright © 2018. All Rights Reserved.