Day & Hour Parting

📘

Day & Hour parting is set at the Flights level.

Overview

Day Parting allows you to limit a flight to serve on specific days, times, or both. For instance, you could target users just in the evening or just on the weekends.

Each day parting rule is a time part. You can set up to 10 time parts per flight.

🚧

By default, Kevel utilizes Coordinated Universal Time (UTC / GMT). Unless your account supports time zones, be sure to account for any time zone difference when setting up day/hour parting. Day parting is tied to UTC, not the specific user's time zone.

If time zones are enabled for your network, day parts are scheduled in the local time of the flight.

❗️

Time parts on a flight are not allowed to overlap.

How Day Parting Works

A time part sets a flight to serve from the first instance of the Start Time until the first instance of the End Time.

The End Time can potentially be earlier than the Start Time. In that case, the time part will stop serving when the End Time is reached on the day following the day of the time part. For instance, a time part for Monday with a Start Time of 20:00 and an End Time of 8:00 will stop serving at 8:00 on Tuesday.

Consecutive time parts can be used to achieve a greater than 24 hour day part. For instance, to serve a flight from Friday evening GMT until the end of Sunday, you can use the time parts:

Start TimeEnd TimeDay
17:0000:00Fri
00:0000:00Sun, Sat

Day Parting Balancing

For day parting flights with non-percentage goals, the ads in the flight are balanced based on:

  • The flight (or ad) Goal amount
  • The Start Time and End Time of the flight (or ad)
  • The total time parts on the flight

From these, the balancer calculates the duration the ads can serve within the flight Start and End Times given its time parts. As the flight serves, the balancer adjusts the weights of the ads so the flight can reach its Goal.

The following will cause a time parted ad to stop serving, in order of precedence:

  • Caps (frequency, budget, event-based) being reached
  • Goals (flight, ad) being reached
  • End Date/Time (flight, ad) occurring
  • First occurrence of the time part’s end time

Setting Up via the UI

  1. On the flight’s settings page, click on the 'Day Parting' tab on the left.
  2. Set the times and/or days you'd like the flight to serve. Times should be specified in 24 hour time. Leaving a time blank defaults to 00:00. Not selecting a day defaults to every day.
  3. Click “Add”.
  4. Repeat for up to 10 day parts per flight.
2142

Setting Up via the API

To enable day parting on a flight via the API, use the day parting endpoints to create day parting entities and associate them with the flight.

These entities contain the same data as a time parting rule on the flight's page:

{
  "Id": 1234,
  "StartTime": "16:00:00",
  "EndTime": "22:00:00",
  "FlightId": 1234567,
  "WeekDays": [
    "FR"
  ]
}

Crossing Midnight GMT

Day parts may cross midnight in GMT. In this case, the day part will begin on each of the days selected, and finish on the subsequent days.

For example, if you want a flight to run Monday - Friday 4pm - 8pm PDT, you should create day parts for 11pm - 3am GMT.

2144

Previously, day parts could not cross the midnight GMT cut-off. This is no longer the case; time parts may now cross GMT days.

📘

If a day part is set from midnight to midnight, it will run for the full day(s) selected.

Day parting and geotargeting

In order to properly serve day parts on the time and day specified, the best practice is to set geotargeting to locations that share the same time zone. For example:

  • A flight including day parts that is geotargeted to New York, Durham, and Miami to will serve as anticipated on the specified days and times (all locations are on the GMT-4 timezone)
  • A flight including day parts that is geotargeted to New York, Durham, Miami and Seattle will not serve as anticipated in Seattle (GMT-7) because it is not in the same timezone as the other cities (GMT-4)