My favorites | English | Sign in

Documentation for the requested version is not available.Documentation for the requested diff is not available.

AdSchedule

Link to this version

An ad schedule specified by an array of SchedulingIntervals that dictates when to show ads. An ad schedule corresponds to being in 'basic mode' if all of its intervals have a multiplier of 1.0. It is possible to update just the status of existing schedules by setting intervals to null.

Fields

intervals SchedulingInterval[]
An array of SchedulingIntervals comprising an ad schedule. If null or empty on input, will be ignored. If null when read, indicates no schedule has ever been set. This implies that once a schedule has its intervals set, it can never go back to having zero intervals (though can be disabled).
status AdScheduleStatus
The current status of the ad schedule.

Values are:

  • Disabled - The ad schedule is disabled.
  • Enabled - The ad schedule is enabled.