public class DayPartTargeting extends Object
Java class for DayPartTargeting complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DayPartTargeting">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="dayParts" type="{https://www.google.com/apis/ads/publisher/v201805}DayPart" maxOccurs="unbounded" minOccurs="0"/>
<element name="timeZone" type="{https://www.google.com/apis/ads/publisher/v201805}DeliveryTimeZone" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DayPart> |
dayParts |
protected DeliveryTimeZone |
timeZone |
| Constructor and Description |
|---|
DayPartTargeting() |
| Modifier and Type | Method and Description |
|---|---|
List<DayPart> |
getDayParts()
Gets the value of the dayParts property.
|
DeliveryTimeZone |
getTimeZone()
Gets the value of the timeZone property.
|
void |
setTimeZone(DeliveryTimeZone value)
Sets the value of the timeZone property.
|
protected DeliveryTimeZone timeZone
public List<DayPart> getDayParts()
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 dayParts property.
For example, to add a new item, do as follows:
getDayParts().add(newItem);
Objects of the following type(s) are allowed in the list
DayPart
public DeliveryTimeZone getTimeZone()
DeliveryTimeZonepublic void setTimeZone(DeliveryTimeZone value)
value - allowed object is
DeliveryTimeZoneCopyright © 2018. All Rights Reserved.