Reference documentation and code samples for the Google Ads Ad Manager V1 Client class Schedule.
The schedule for the report
Generated from protobuf message google.ads.admanager.v1.Schedule
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ weekly_schedule
↳ monthly_schedule
↳ start_date
↳ end_date
↳ frequency
int
Frequency to run report.
↳ start_time
Google\Type\TimeOfDay
Indicates start time for schedule to run Will use the time_zone from ReportDefinition
. Defaults to the publisher's time zone if not specified. For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.
getWeeklySchedule
Days of week to schedule report run.
hasWeeklySchedule
setWeeklySchedule
Days of week to schedule report run.
$this
getMonthlySchedule
Days of month to schedule report run.
hasMonthlySchedule
setMonthlySchedule
Days of month to schedule report run.
$this
getStartDate
Date for the first run of the report.
hasStartDate
clearStartDate
setStartDate
Date for the first run of the report.
$this
getEndDate
Date for the final run of the report.
hasEndDate
clearEndDate
setEndDate
Date for the final run of the report.
$this
getFrequency
Frequency to run report.
int
setFrequency
Frequency to run report.
var
int
$this
getStartTime
Indicates start time for schedule to run
Will use the time_zone from ReportDefinition
. Defaults
to the publisher's time zone if not specified.
For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.
hasStartTime
clearStartTime
setStartTime
Indicates start time for schedule to run
Will use the time_zone from ReportDefinition
. Defaults
to the publisher's time zone if not specified.
For HOURLY, TWO_TIMES_DAILY, THREE_TIMES_DAILY, or FOUR_TIMES_DAILY, this will be the time of day that the first report will run on the first day. For example, if the start time is 2:00 PM, and the frequency is THREE_TIMES_DAILY, the first day will have reports scheduled at 2:00 PM, 10:00 PM. Each subsequent day will have reports scheduled at 6:00 AM, 2:00 PM, 10:00 PM.
$this
getFrequencySchedule
string