public class InventoryTargeting extends Object
Java class for InventoryTargeting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="InventoryTargeting">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="targetedAdUnits" type="{https://www.google.com/apis/ads/publisher/v201805}AdUnitTargeting" maxOccurs="unbounded" minOccurs="0"/>
<element name="excludedAdUnits" type="{https://www.google.com/apis/ads/publisher/v201805}AdUnitTargeting" maxOccurs="unbounded" minOccurs="0"/>
<element name="targetedPlacementIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<AdUnitTargeting> |
excludedAdUnits |
protected List<AdUnitTargeting> |
targetedAdUnits |
protected List<Long> |
targetedPlacementIds |
| Constructor and Description |
|---|
InventoryTargeting() |
| Modifier and Type | Method and Description |
|---|---|
List<AdUnitTargeting> |
getExcludedAdUnits()
Gets the value of the excludedAdUnits property.
|
List<AdUnitTargeting> |
getTargetedAdUnits()
Gets the value of the targetedAdUnits property.
|
List<Long> |
getTargetedPlacementIds()
Gets the value of the targetedPlacementIds property.
|
protected List<AdUnitTargeting> targetedAdUnits
protected List<AdUnitTargeting> excludedAdUnits
public List<AdUnitTargeting> getTargetedAdUnits()
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 targetedAdUnits property.
For example, to add a new item, do as follows:
getTargetedAdUnits().add(newItem);
Objects of the following type(s) are allowed in the list
AdUnitTargeting
public List<AdUnitTargeting> getExcludedAdUnits()
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 excludedAdUnits property.
For example, to add a new item, do as follows:
getExcludedAdUnits().add(newItem);
Objects of the following type(s) are allowed in the list
AdUnitTargeting
public List<Long> getTargetedPlacementIds()
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 targetedPlacementIds property.
For example, to add a new item, do as follows:
getTargetedPlacementIds().add(newItem);
Objects of the following type(s) are allowed in the list
Long
Copyright © 2018. All Rights Reserved.