---
title: Creating an audience
slug: qatar-airways-hol/creating-an-audience
description: >-
docTags: 
createdAt: 2024-01-30T23:03:21.354Z
---

In this exercise we'll be creating two audiences that we can use in our journey.

:::hint{type="info"}
To log into the Adobe Experience Platform, and open Adobe Journey Optimizer, check the **Introduction Section.**
:::

## Audience overview

To get an overview of all audiences in Adobe Journey Optimizer:

1. In the menu on the left side, under **Customer**, click on **Audiences**. You will see a overview with all existing audiences.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/fF69EsC1V_WdqoXobP-Um_screenshot-2024-07-21-at-180155.png)

## Audience #1 - Flight Departure in next 2 weeks

First we'll be creating an audience that contains all customers that have a flight in the next 2 weeks.

:::hint{type="warning"}
If you do not want to create your own audience, you can reuse the audience aleady  created for you **QA - Flight Departure in next 2 weeks**. Feel free to skip this exercise and proceed to **Creating offers.**
:::

1. Click on **Create audience**. A pop-up will open, choose `Build rule` and click **Create**.You'll be taken to the **Audience builder**.
2. Set the **name** to `[your name] - Flight Departure in next 2 weeks`.
3. Set the **evaluation method** to `edge`.
4. In the **Events** tab, search for `flight`. In the bottom a predefined event will appear. Drag the `Booking` event to the middle of the screen.
5. Click on the Booking-event in the middle section to open the Event Rules.&#x20;
6. In the left menu,  navigate to **XDM ExperienceEvent > Reservations > Flight Reservations** and drag the field `Departure Date` to the event Rules.
7. Set the expression for **Departure Date** to `In next 2 weeks`.
8. Your screen should look like the image below. Click **Publish** to finish your audience.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/AG7WLch4ybghH9SxTPlAd_screenshot-2024-07-21-at-180414.png)

## Audience #2 - Flight Departure in next 24 hours

Next we'll be creating an audience that contains all customers that have a flight in the next 24 hours.

:::hint{type="info"}
As this audience is very similar to the previous one you can also choose to copy that audience and edit it. You can do this by clicking the :FontAwesome[]{icon="fa-solid fa-ellipsis"}**&#x20;icon** and choosing **Copy**.
:::

1. Click on **Create audience**. A window will open, choose `Build rule` and click **Create**.You'll be taken to the **Audience builder**.
2. Set the **name** to `[your name] - Flight Departure in next 24 hours`.
3. Set the **evaluation method** to `edge`.
4. In the **Events** tab, search for `flight`. In the bottom a predefined event will appear. Drag the `Booking` event to the middle of the screen.
5. Click on the Booking-event in the middle section to open the Event Rules.&#x20;
6. In the left menu,  navigate to **XDM ExperienceEvent > Reservations > Flight Reservations** and drag the field `Departure Date` to the event Rules.
7. Set the expression for **Departure Date** to `In next 24 hours`.
8. Your screen should look like the image below. Click **Publish** to finish your audience.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/VVJHfqzSqy-V3-wfiv1mx_screenshot-2024-07-21-at-180543.png)

