---
title: Lab 4 : Create a Campaign
slug: hol-bayport/lab-4-create-a-campaign
createdAt: 2026-10-06T10:51:38.797Z
---

### Create a new AJO Code-Based Experience Campaign

1. Navigate to Journey Management> Campaigns. Create a Campaign.



![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/7KQQmOdMiL7qOtxcFJOA5_image.png)

&#x20;   2\. Select Campaign Type as "Scheduled"



![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/WIZoH--eRcKfQNjVJm5CD_image.png)

&#x20;  3\. Define Campaign Properties:&#x20;

- In the **Properties** section, provide a name and description for the campaign.
- Choose Your Audience:
  - In the **Audience** section, click **Select Audience** to choose from the available Adobe Experience Platform audiences.&#x20;
  - In the **Identity namespace** field, select the appropriate namespace to identify individuals in the segment.

![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/s6beKqfxyhE4FjvJAqZVN_image.png)

5\. Choose the **Code-Based experience&#x20;**&#x66;or the campaign.

6\. Select or Create a new Configuration

In our case, select an existing code-based experience configuration-&#x20;
**varawat-LumaHomePageConfiguration**



![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/BninzXbcrChMLxqRQLyoC_image.png)

7\. Enable Additional Delivery Rules (Optional):

- If needed, toggle **Enable additional delivery rules**. You can then click **Edit triggers** to define the events and criteria for message delivery using the rule builder.

Let's keep the triggers empty.

﻿


![](https://images.archbee.com/bAgVaanSi1tFmfc8PghaH/g5YsP0y3Rw_OuKmEwqJx5_image.png?format=webp)

8\. Set your campaign to run on a specific date or recur at regular intervals




![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/-Hf6VN8sxdxIjnnCgitj4_image.png)

9\. Begin creating the content by clicking **Edit content**.



![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Mq_btZbU9gps0-sNbD-qB_image.png)

10\. Click on Edit Code on the right to provide content

![](https://api.archbee.com/api/optimize/bAgVaanSi1tFmfc8PghaH/OtPBxjCONpKSBIxNgXLf4_image.png)

11\. Click on Decision Policy to add the same in order to reuse the offers created earlier .

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/s0yIxAV4BR5UdXhtM5erC_image.png)

12. Click on Insert Policy
13.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/NNfKifbPvid7oainWakv-_image.png)

Now add below  Content inside decision policy

:::CodeblockTabs
```javascript
{
    "image": "{{item._demoapac.content.mediaAssets.imageHighRes.sourceURL}}",
    "text": "{{item._demoapac.content.textContent.title}}",
    "description": "{{item._demoapac.content.textContent.compactDescription}}",
    "link": "{{item._demoapac.content.navigation.webUrl}}",
    "buttonLabel": "{{item._demoapac.content.textContent.fullCTA}}",
}

```

```none
```

```null
```
:::



![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/w6ElPv3hFFUe8JGhR-CbU_image.png)

12. Click on save


![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/8zHhsXwh_Y2oSIiAkQkp7_image.png)

1. &#x20;Click on **Review to activate.&#x20;**&#x54;hen Click on **Activate**. The campaign should be live now.



###

###

