public class ContentTargeting extends Object
LineItems to specific videos on a publisher's site.
Java class for ContentTargeting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContentTargeting">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="targetedContentIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="excludedContentIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="targetedVideoContentBundleIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="excludedVideoContentBundleIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
<element name="targetedContentMetadata" type="{https://www.google.com/apis/ads/publisher/v201802}ContentMetadataKeyHierarchyTargeting" maxOccurs="unbounded" minOccurs="0"/>
<element name="excludedContentMetadata" type="{https://www.google.com/apis/ads/publisher/v201802}ContentMetadataKeyHierarchyTargeting" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Long> |
excludedContentIds |
protected List<ContentMetadataKeyHierarchyTargeting> |
excludedContentMetadata |
protected List<Long> |
excludedVideoContentBundleIds |
protected List<Long> |
targetedContentIds |
protected List<ContentMetadataKeyHierarchyTargeting> |
targetedContentMetadata |
protected List<Long> |
targetedVideoContentBundleIds |
| Constructor and Description |
|---|
ContentTargeting() |
| Modifier and Type | Method and Description |
|---|---|
List<Long> |
getExcludedContentIds()
Gets the value of the excludedContentIds property.
|
List<ContentMetadataKeyHierarchyTargeting> |
getExcludedContentMetadata()
Gets the value of the excludedContentMetadata property.
|
List<Long> |
getExcludedVideoContentBundleIds()
Gets the value of the excludedVideoContentBundleIds property.
|
List<Long> |
getTargetedContentIds()
Gets the value of the targetedContentIds property.
|
List<ContentMetadataKeyHierarchyTargeting> |
getTargetedContentMetadata()
Gets the value of the targetedContentMetadata property.
|
List<Long> |
getTargetedVideoContentBundleIds()
Gets the value of the targetedVideoContentBundleIds property.
|
protected List<ContentMetadataKeyHierarchyTargeting> targetedContentMetadata
protected List<ContentMetadataKeyHierarchyTargeting> excludedContentMetadata
public List<Long> getTargetedContentIds()
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 targetedContentIds property.
For example, to add a new item, do as follows:
getTargetedContentIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<Long> getExcludedContentIds()
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 excludedContentIds property.
For example, to add a new item, do as follows:
getExcludedContentIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<Long> getTargetedVideoContentBundleIds()
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 targetedVideoContentBundleIds property.
For example, to add a new item, do as follows:
getTargetedVideoContentBundleIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<Long> getExcludedVideoContentBundleIds()
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 excludedVideoContentBundleIds property.
For example, to add a new item, do as follows:
getExcludedVideoContentBundleIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
public List<ContentMetadataKeyHierarchyTargeting> getTargetedContentMetadata()
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 targetedContentMetadata property.
For example, to add a new item, do as follows:
getTargetedContentMetadata().add(newItem);
Objects of the following type(s) are allowed in the list
ContentMetadataKeyHierarchyTargeting
public List<ContentMetadataKeyHierarchyTargeting> getExcludedContentMetadata()
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 excludedContentMetadata property.
For example, to add a new item, do as follows:
getExcludedContentMetadata().add(newItem);
Objects of the following type(s) are allowed in the list
ContentMetadataKeyHierarchyTargeting
Copyright © 2018. All Rights Reserved.