public class AdSchedule extends Criterion
Note: An AdSchedule may not have more than six intervals in a day.
This is enabled for AdX.Java class for AdSchedule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AdSchedule">
<complexContent>
<extension base="{https://adwords.google.com/api/adwords/cm/v201809}Criterion">
<sequence>
<element name="dayOfWeek" type="{https://adwords.google.com/api/adwords/cm/v201809}DayOfWeek" minOccurs="0"/>
<element name="startHour" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="startMinute" type="{https://adwords.google.com/api/adwords/cm/v201809}MinuteOfHour" minOccurs="0"/>
<element name="endHour" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="endMinute" type="{https://adwords.google.com/api/adwords/cm/v201809}MinuteOfHour" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DayOfWeek |
dayOfWeek |
protected Integer |
endHour |
protected MinuteOfHour |
endMinute |
protected Integer |
startHour |
protected MinuteOfHour |
startMinute |
criterionType, id, type| Constructor and Description |
|---|
AdSchedule() |
| Modifier and Type | Method and Description |
|---|---|
DayOfWeek |
getDayOfWeek()
Gets the value of the dayOfWeek property.
|
Integer |
getEndHour()
Gets the value of the endHour property.
|
MinuteOfHour |
getEndMinute()
Gets the value of the endMinute property.
|
Integer |
getStartHour()
Gets the value of the startHour property.
|
MinuteOfHour |
getStartMinute()
Gets the value of the startMinute property.
|
void |
setDayOfWeek(DayOfWeek value)
Sets the value of the dayOfWeek property.
|
void |
setEndHour(Integer value)
Sets the value of the endHour property.
|
void |
setEndMinute(MinuteOfHour value)
Sets the value of the endMinute property.
|
void |
setStartHour(Integer value)
Sets the value of the startHour property.
|
void |
setStartMinute(MinuteOfHour value)
Sets the value of the startMinute property.
|
getCriterionType, getId, getType, setCriterionType, setId, setTypeprotected DayOfWeek dayOfWeek
protected Integer startHour
protected MinuteOfHour startMinute
protected Integer endHour
protected MinuteOfHour endMinute
public DayOfWeek getDayOfWeek()
DayOfWeekpublic void setDayOfWeek(DayOfWeek value)
value - allowed object is
DayOfWeekpublic Integer getStartHour()
Integerpublic void setStartHour(Integer value)
value - allowed object is
Integerpublic MinuteOfHour getStartMinute()
MinuteOfHourpublic void setStartMinute(MinuteOfHour value)
value - allowed object is
MinuteOfHourpublic Integer getEndHour()
Integerpublic void setEndHour(Integer value)
value - allowed object is
Integerpublic MinuteOfHour getEndMinute()
MinuteOfHourpublic void setEndMinute(MinuteOfHour value)
value - allowed object is
MinuteOfHourCopyright © 2023. All rights reserved.