How Do I Automate Ad Campaigns Based on Occupancy?

Use the Ad Occupancy Engine to turn a Google or Meta ad on when classes, events or parties have room, and pause it when they fill up.

Watch it in action: Ad Occupancy Engine

Note

Before you start, check these three things.

  • Growth Engine: your account has the Growth Engine add-on.
  • Ad account: the location has a Google or Meta ad account picked on the Marketing Journey settings page. See How Do I Configure the Marketing Journey Settings?
  • Access: you have Admin Access, or the Autopilot permission set to Full.

Copy an ad workflow

The Ad Occupancy Engine is six Autopilot workflows. Each one watches one location and turns one ad on or off.

  1. In the menu bar at the top of the screen, select Autopilot. Then select the Workflows tile.
  2. At the top right, select Add a Workflow to open the Tasks Library.
  3. Select the workflow that matches your ad and what you sell. Its card shows the Google or Meta logo.
    • Manage Google Ads Based on Class Enrollment
    • Manage Google Ads Based on Event Enrollment
    • Manage Google Ads Based on Party Bookings
    • Manage Meta Ads Based on Class Enrollment
    • Manage Meta Ads Based on Event Enrollment
    • Manage Meta Ads Based on Party Bookings
  4. A copy of the workflow opens in the Workflow Editor. Set up its boxes as shown in “Set up each box,” below.

Set up each box

Open each box below. They are in the same order as the boxes on the screen. Two boxes on the screen are numbered 6, one on each side. Locked boxes need nothing from you.

▶ Trigger boxes: Class Enrollment Created, Modified and Deleted

These boxes start the workflow each time an enrollment is added, changed or deleted.

  • Event workflows: watch event enrollments.
  • Party workflows: watch party bookings.

You don’t need to change these boxes.

▶ Scheduled Event

This box also runs the workflow once a day, as a backup check.

  1. Select the words Scheduled Event to open the schedule window.
  2. In the Time box, pick the time of day for the check. In a new copy the Time box is blank, even though the editor shows 12:00 AM. Apply Schedule stays grey until you pick a time.
  3. Select Apply Schedule to save the time.

A message says the schedule is locked. Only the time can change. It uses your account’s time zone.

▶ Box 1: Select Location

Pick the location this workflow watches. One workflow covers one location. The ad account comes from that location’s Marketing Journey settings.

▶ Box 2: Select Programs

Pick one or more programs.

  • Class workflows: count the classes in these programs.
  • Event workflows: count the events in these programs.
  • Party workflows: this box is Select Stations. Pick the party stations to count.
▶ Box 3: Select Meta Ads Entity

In Google workflows, this box is Select Google Ads Entity. Pick what this workflow turns on and off:

  • Meta: a campaign, ad set or single ad.
  • Google: a campaign, ad group, asset group or single ad.

Set Box 1 first. This box uses the ad account picked for that location. If the list shows n/a, check Box 1 and the location’s Marketing Journey settings.

One workflow controls one choice. To control more ads, copy the workflow again for each one.

▶ Box 4: Get Class Occupancy For Ads

Event workflows call this box Get Event Occupancy For Ads. Party workflows call it Get Party Occupancy For Ads. It sets when the ad turns on and off.

  • Min Enrollment % (Enable ads when at or below): the box starts with 50. So the ad turns on when classes are 50% full or less. Keep it, or type a different number.
  • Max Enrollment % (Pause ads when at or above): the box starts with 90. So the ad pauses when classes are 90% full or more. Keep it, or type a different number.
  • Use whole numbers from 0 to 100. The min must be lower than the max.

Party workflows call these Min Booking % and Max Booking %. They also have Lookahead Days. The box starts with 30. So the workflow counts party times from the first day families can book to 30 days ahead. Keep it, or type a different number. The workflow uses at least 7 days and at most 365.

▶ How party dates are counted
  • The count starts on today plus your Booking Lead Time.
  • It ends the Lookahead Days number of days from today.
  • With a Booking Lead Time of 0, party times earlier today that have already passed are left out.

Select Apply to save the box.

▶ Box 5: True or False (locked)

This box checks whether occupancy is at or below your min. If it is, the workflow goes to the Yes side, below. If not, it goes to the No side. You can’t change this box.

▶ Box 6, Yes side: Set Meta Ads Status (locked)

In Google workflows, this box is Set Google Ads Status. It turns the ad on. You can’t change this box.

▶ Box 6, No side: True or False (locked)

This box checks whether occupancy is at or above your max. If it is, the workflow goes to Box 7. If not, the ad stays as it is. You can’t change this box.

▶ Box 7: Set Meta Ads Status (locked)

In Google workflows, this box is Set Google Ads Status. It pauses the ad. You can’t change this box.

  1. At the top right, select Save to save the workflow.
  2. Turn on the Enabled switch, at the top right, to start the workflow.

You’re All Set

Done!

The workflow now turns your ad on and off as spots fill up and open up.

How the workflow decides

Each time the workflow runs, it compares how full things are with your min and max.

  • At or below the min: the ad turns on.
  • At or above the max: the ad pauses.
  • In between: the ad stays as it is.
  • What counts: only classes, events and party times families can sign up for in the Customer Portal. Classes that don’t allow online registration are left out.
  • Several programs: the workflow adds them into one total.
  • Nothing to book: the workflow treats it as full and pauses the ad.
  • No messages: these workflows never email or text families.

Troubleshooting

▶ Common Questions
▶ Why isn’t my ad changing?
  • The workflow’s Enabled switch is on.
  • Box 2 and Box 3 have the right programs or stations and the right ad.
  • Occupancy has passed your min or max. In between, the ad stays as it is.
▶ I turned the ad on or off in Google or Meta. Why did it change back?

The workflow sets the ad again each time it runs and occupancy is past your min or max. To control the ad yourself, turn off the workflow’s Enabled switch first.

▶ Why did my ad pause when classes aren’t full?

The workflow found nothing families can book, so it treated it as full. Check that the classes, events or party stations in Box 2 let families book in the Customer Portal.

▶ Can I use different numbers for different programs or ads?

Yes. Copy the workflow once for each program, party station or ad. Give each copy its own min and max.

▶ How soon does a paused ad stop showing?

Google usually stops showing a paused ad in about 10 minutes. Meta can take up to about 60 minutes.

Related: How Do I Configure the Marketing Journey Settings? · How Do I Copy and Configure Autopilot Workflows? · What is Autopilot? · How Do I View the Workflow Activity and Audit Logs? · What is Party Booking Management?

Need more assistance?

Customer support is available at 1-877-554-6776.

Sunday 3 PM – 12 AM CT
Monday–Thursday 9 AM – 12 AM CT
Friday–Saturday 9 AM – 6 PM CT.