Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

AdScheduleInfo

Represents an AdSchedule criterion.

AdSchedule is specified as the day of the week and a time interval within which ads will be shown.

No more than six AdSchedules can be added for the same day.

JSON representation
{
  "startMinute": enum (MinuteOfHour),
  "endMinute": enum (MinuteOfHour),
  "dayOfWeek": enum (DayOfWeek),
  "startHour": integer,
  "endHour": integer
}
Fields
startMinute

enum (MinuteOfHour)

Minutes after the start hour at which this schedule starts.

This field is required for CREATE operations and is prohibited on UPDATE operations.

endMinute

enum (MinuteOfHour)

Minutes after the end hour at which this schedule ends. The schedule is exclusive of the end minute.

This field is required for CREATE operations and is prohibited on UPDATE operations.

dayOfWeek

enum (DayOfWeek)

Day of the week the schedule applies to.

This field is required for CREATE operations and is prohibited on UPDATE operations.

startHour

integer

Starting hour in 24 hour time. This field must be between 0 and 23, inclusive.

This field is required for CREATE operations and is prohibited on UPDATE operations.

endHour

integer

Ending hour in 24 hour time; 24 signifies end of the day. This field must be between 0 and 24, inclusive.

This field is required for CREATE operations and is prohibited on UPDATE operations.

MinuteOfHour

Enumerates of quarter-hours. E.g. "FIFTEEN"

Enums
UNSPECIFIED Not specified.
UNKNOWN The value is unknown in this version.
ZERO Zero minutes past the hour.
FIFTEEN Fifteen minutes past the hour.
THIRTY Thirty minutes past the hour.
FORTY_FIVE Forty-five minutes past the hour.