---
title: Campaign Setup
slug: lab612-2025/campaign-setup
docTags: 
createdAt: 2025-02-13T16:35:17.753Z
---

1. Navigate to Campaigns by clicking on the option in the left side navigation panel



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/i6Z4uItZjZe8i1zIUoqOl_image.png" size="30" width="248" height="264" position="center" showCaption="false"}
2. Click the Create campaign button in the top right hand corner



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/7L06_KFxkafFRaa4jwmdS_image.png" size="30" width="213" height="123" position="center" showCaption="false"}
3. Select **Scheduled - Marketing campaign** and click Create



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/k3rI3V9CKOv09dEIoyxuF_image.png" size="50" width="480" height="624" position="center" showCaption="false"}
4. Name your campaign **Credit Card ExD -&#x20;***\<STATION NUMBER>* and replace *\<STATION NUMBER>* with your station number. Campaign names must be unique.



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/4-juRqhy01Sy1B_SUtvuD_image.png" size="50" width="660" height="130" position="center" showCaption="false"}
5. Scroll down to the **Action** section and select the **Code-based experience** option from the dropdown



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/FadKwRZONGwnmn2q7yWkZ_image.png" size="50" width="659" height="366" position="center" showCaption="false"}
6. Select the **code-based experience configuration** specific to your station (*e.g. if you are sitting at station 01 your configuration will be named CBE-01*). Click **Edit content**.



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/3kevWyiwD5V3B7dXtGJ_n_image.png" size="50" width="658" height="261" position="center" showCaption="false"}
7. On the right hand side, click the **Edit code** button to edit the code-based experience.



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/MGhWcvbSqbCVGjG_FTSGW_image.png" size="50" width="265" height="229" position="center" showCaption="false"}
8. A modal will pop up with an expression editor. On the left hand side, click the **Decision Policy icon**.



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/YGiCu5CMKEh9XFhXotthA_image.png" size="50" width="450" height="350" position="center" showCaption="false"}
9. Click the **Add decision policy** button.



   ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/JRG8ATjfbPtNdjct9Y7c__image.png" size="50" width="317" height="617" position="center" showCaption="false"}
10. The Create new policy option should be auto selected, click **Next**.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/LtXRDy5amIYVXoWJThG-C_image.png" size="50" width="459" height="265" position="center" showCaption="false"}
11. Name your decision policy **CC Decision Policy -&#x20;***\<STATION NUMBER>* and replace *\<STATION NUMBER>* with your station number. Decision policy names must be unique. Click **Next**



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/VcXiXzXMYFdIwcClIA5CS_image.png" size="50" width="460" height="431" position="center" showCaption="false"}
12. At the bottom of the next modal, click the **+Add** button and select **Selection Strategy** from the picklist.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/XoNXurQJdnekBCZTHC0f0_image.png" size="74" width="860" height="568" position="center" showCaption="false"}
13. Search for your selection strategy by *entering your station number* in the search bar. **Check the box** for your strategy and click **Save**.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/_xsh9xkTSk-j9Hl59u7v4_image.png" size="74" width="880" height="515" position="center" showCaption="false"}
14. You should have a decision policy with *6 decision items* available. Click **Next**.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/-HXCht-d-GNvbmB_MUe_H_image.png" size="74" width="932" height="624" position="center" showCaption="false"}
15. Review for accuracy and click **Save**.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/tcCSk_S5VgwIE3zVIzz75_image.png" size="74" width="1275" height="686" position="center" showCaption="false"}
16. In the expression editor, click the **Decision Policy icon** and insert your policy into the editor by clicking the **+ insert policy** button.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/mVEaJOumVPEyEuqyoSECH_image.png" size="50" width="434" height="342" position="center" showCaption="false"}
17. Click on the **Fragment Drawer icon**. Place your cursor in the whitespace between the `#each` and `/end` tags. Select the **Credit Card Offer JSON&#x20;**&#x66;ragment, click the **ellipses (...)** button and select the **Paste fragment** option.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/qG4xbcDAnT2d6l4p3Kdg2_image.png" size="74" width="1079" height="349" position="center" showCaption="false"}
18. For each key/value pair in the inserted JSON object, add the relevant decision policy attribute. To do this, click the **Decision Policy icon** and drill down into the offerMetadata object (*\_adobedemoamericas > offerMetadata*) and clicking the **+** button for each attribute. This will insert the token into the expression editor.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/q2ReJXdWif07OtaiH0kQm_image.png" size="74" width="1425" height="934" position="center" showCaption="false"}
19. **Save and close** the expression.
20. Click the Review to activate button in the top right.



    ::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/eiLwEACmoav1kw8CdDZxN_image.png" size="30" width="156" height="56" position="center" showCaption="false"}

