> ## Documentation Index
> Fetch the complete documentation index at: https://docs.signagelab.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Campaign timing

> Decide when, how often, and in what order a campaign plays on your screens.

Timing determines when a campaign plays and where it fits among the other campaigns on the same screen. You set it in the second wizard step, **Timing**, and you can change it any time later in the **Campaign timing** section of the [campaign detail](https://docs.signagelab.com/cms/campaigns/detail.md).

![Timing step in the campaign wizard](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/campaigns/wizard/step-2-timing.en.png)

## How a screen builds its program

To give you a better idea of what each option does:

1. For each [content region](https://docs.signagelab.com/cms/screens/content-regions.md) in the screen's layout, the CMS picks the campaigns that target both the screen and the region and have the **Published** or **Scheduled** status.
2. It groups the campaigns by **Priority**. At any given moment, only the campaigns with the highest priority whose broadcast period and weekly schedule are currently valid play.
3. Campaigns with the same priority take turns in a loop. Their order is set by **Order** and **Repeat**; otherwise they are sorted by creation date.
4. In regions with a limited number of slots, **Slot priority** also decides which campaigns fit into the loop at all.

If the defaults suit you, you don't need to change anything. The campaign then plays continuously, every day, and alternates evenly with the others.

## General settings

The **General settings** section with the **Duration** field appears in the **Timing** step for all campaign types except **Gallery (photo and video)**. For a gallery, the length is determined by the media (the display time of images and the length of videos).

| Option | Behavior |
| - | - |
| **Default Duration (N seconds)** | Each time the campaign starts, it is shown for the default duration set in the [account settings](https://docs.signagelab.com/cms/account/settings.md#campaign-setting). |
| **Custom** | You enter your own number of seconds. Useful, for example, for a website you want to keep on screen longer. |

When the time is up, the next campaign in the loop plays.

## Repeat

Sets how often the campaign plays relative to the other campaigns in the same region.

| Option | Behavior |
| - | - |
| **No Repeat** | The campaign plays once per loop. Campaigns are lined up by creation date. This is the default. |
| **Repeat every 1st** | The campaign plays after every other campaign. |
| **Repeat every 2nd** | The campaign plays after every two other campaigns. |
| **Custom** | You enter a number N: the campaign plays after every N other campaigns. |

**Example:** A screen plays the campaigns *Morning menu*, *Prague weather*, *Opening hours*, and *News*. You set the *Cappuccino deal* campaign to **Repeat every 2nd**. The loop then looks like this:

*Morning menu → Prague weather → **Cappuccino deal** → Opening hours → News → **Cappuccino deal***

With **Repeat every 1st**, the deal would play after each of the other campaigns.

## Priority

Priority decides which campaigns take precedence on a screen.

| Option | Value |
| - | - |
| **Default priority** | 0 |
| **Medium priority** | 1 |
| **High priority** | 2 |
| **Custom** | Any whole number. A higher number means a higher priority. |

If several valid campaigns with different priorities target the same content region (their broadcast period and weekly schedule are currently valid), **only the campaigns with the currently highest priority play**. Lower-priority campaigns are paused and resume once the higher-priority campaigns expire or their weekly schedule window ends. The default priority of new campaigns may be set in the account settings.

> [!WARNING]
>
> High priority doesn't mean "play more often". A higher-priority campaign completely pushes out the other campaigns in the same region. If you just want a campaign to come up more often, use **Repeat**.

**Example:** The *Cappuccino deal* campaign has **High priority**, **Broadcast to** set to December 31, 2026, 22:00, and the order **Always first**. Until the end of the year, it is the only campaign playing in its region on the selected screens (along with any other high-priority campaigns). After 22:00 on December 31, the campaign expires and the screens return to their regular program on their own.

![High priority, Always first order, and Broadcast to](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/campaigns/timing/priority-order-end-date.en.png)

A typical use for high priority is a short-term urgent message, for example *Closed today for technical reasons*, with an end date set.

## Slot priority

The **Slot priority** field only appears if the account has at least one content region with a limited number of slots (for example a *Bottom bar* region with 3 slots and a 30-second loop). The options are the same as for priority: **Default priority** (0), **Medium priority** (1), **High priority** (2), and **Custom**.

In a region with a limited number of slots, the CMS works like this:

1. It takes the campaigns that are currently valid (broadcast period and weekly schedule).
2. It sorts them by **Slot priority**, highest first. Campaigns with the same slot priority are sorted by **Order**.
3. It adds them to the loop until the region's slots are filled and as long as their combined length doesn't exceed the region's loop length.

Campaigns that don't fit don't play in the region. Slot priority therefore decides who gets into a limited region. In regions without slot limits, it has no effect. Slot settings are described in [Content regions](https://docs.signagelab.com/cms/screens/content-regions.md).

## Order

| Option | Behavior |
| - | - |
| **Default order** | The campaign takes its place in the loop by creation date. This is the default. |
| **Always first** | The campaign is in the first position of the loop. |
| **Custom** | You enter the position the campaign should have in the loop (1 = first, 2 = second, and so on). The other campaigns fill the remaining positions. |

Order applies among campaigns with the same priority. When several campaigns have the same position, they are sorted among themselves by creation date.

## Broadcast setting

Limits the period during which the campaign plays.

| Option | Behavior |
| - | - |
| **Broadcast always** | The campaign plays from the moment you publish it until you stop it manually. This is the default. |
| **Broadcast from** | You fill in **Broadcast From**. The campaign starts playing on the given day and time. Until then, it has the **Scheduled** status. |
| **Broadcast to** | You fill in **Broadcast To**. The campaign stops playing on the given day and time and gets the **Expired** status. |
| **Time range** | You fill in both **Broadcast From** and **Broadcast To**. The campaign plays only within this period. |

Dates and times are entered in local time: the device's time zone applies, or the [account time zone](https://docs.signagelab.com/cms/account/settings.md). Click **Clear** next to a field to remove its value.

> [!TIP]
>
> Prepare seasonal campaigns ahead of time. Give them a **Time range** and publish them (the button changes to **Schedule**). Devices receive them in advance, start them on their own at the right moment, and stop them again when they end.

## Weekly schedule

Sets the days of the week and the hours when the campaign plays. It applies every week for the whole broadcast period.

| Option | Behavior |
| - | - |
| **All days of the week without restrictions** | The campaign plays all day, every day. This is the default. |
| **Custom rules for the days of the week** | A table of days appears where you set rules for each day separately. |

In the custom rules table, each day has these options:

* **Enabled:** whether the campaign plays on that day at all.
* **Whole day:** the campaign plays all day.
* **Time interval:** when you turn off **Whole day**, use the slider to set when playback starts and ends, in 5-minute steps. You can set one interval per day.

![Custom weekly schedule: weekdays 10:00–14:00, weekend off](https://signagelab-alfa-space.fra1.digitaloceanspaces.com/documentation/images/cms/campaigns/wizard/step-2-timing-weekly-schedule.en.png)

## Practical examples

| Situation | Settings |
| - | - |
| **Breakfast menu every weekday morning** | **Weekly schedule** → **Custom rules**: Monday to Friday enabled, interval 06:30–10:30, Saturday and Sunday off. |
| **Lunch menu for the winter season** | **Broadcast setting** → **Time range** December 1, 2026, 00:00 – March 31, 2027, 23:00, **Weekly schedule** weekdays 10:00–14:00. After you publish it, the campaign is **Scheduled** and starts on its own. |
| **A deal until the end of the year that should take precedence** | **Priority** → **High priority**, **Broadcast setting** → **Broadcast to** December 31, 2026, 22:00. Other campaigns in the same region don't play until the deal ends. |
| **A logo or teaser more often than other content** | **Repeat** → **Repeat every 2nd**. The campaign plays after every two other campaigns, while the other content keeps playing. |
| **An intro jingle at the start of the loop** | **Order** → **Always first**. |

## FAQ

> [accordion] I gave a campaign high priority and the other campaigns disappeared. Is that a bug?
>
> No. Higher-priority campaigns push out lower-priority campaigns in the same content region. If you just want the campaign to play more often, set the priority back to **Default priority** and use **Repeat**.

> [accordion] The campaign should play from 22:00 to 2:00. How do I set that up?
>
> An interval in the weekly schedule can't cross midnight. Set an interval of 22:00–23:55 on the first day and 00:00–02:00 on the following day.

> [accordion] Why don't I see the Duration field for a gallery?
>
> The length of a gallery is the sum of its media. You set the display time for each image separately, and videos always play in full. See [Gallery](https://docs.signagelab.com/cms/campaigns/campaign-gallery.md).

> [accordion] Do the start and end times follow my computer or the screen?
>
> The screen. The device uses its own time zone, or the account time zone. If your screens are in different time zones, the campaign starts at local time in each of them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.