Create simulations create-simulations

About simulation about-simulation

To validate your decisioning logic, you can simulate which offers will be delivered to a test profile for a given placement.

This enables you to test and refine various versions of your offers with no impact on the targeted recipients.

NOTE
This capability simulates a single request to the Decisioning API. Learn more on Deliver offers using the Decisioning API.

To access this feature, select the Simulation tab from the Decision management > Offers menu.

NOTE
As simulation does not generate any decision event, the capping count is not impacted.

Select test profiles select-test-profiles

First you need to select the test profiles that you are going to use for simulation.

CAUTION
You must have test profiles available to simulate which offers will be delivered to them. Learn how to create test profiles.
  1. Click Manage profile.

  2. Select the identity namespace you want to use to identify test profiles. In this example, we will use the Email namespace.

    note note
    NOTE
    An identity namespace defines the context of an identifier such as an email address or CRM ID. Learn more about Adobe Experience Platform identity namespaces in this section.
  3. Enter the identity value and click View to list the available profiles.

  4. Add other profiles if you want to test different profile data, and save your selection.

  5. Once added, all profiles are listed in the drop-down list under Test profile. You can switch between the saved test profiles to display the results for each selected profile.

    note note
    NOTE
    The profiles selected will remain listed as test profiles in the Simulation tab from session to session until they are removed using Manage profile.
  6. You can click the Profile details link to display the selected profile data.

Add decision scopes add-decision-scopes

Now select the offer decisions that you want to simulate on your test profiles.

  1. Select Add decision scope.

  2. Select a placement from the list.

  3. The available decisions are displayed.

    • You can use the search field to refine the selection.
    • You can click the Open offer decisions link to open the list of all the decisions that you created. Learn more on decisions.

    Select the decision of your choice and click Add.

  4. The decision scope you just defined displays in the main workspace.

    You can adjust the number of offers that you want to request. For example, if you select 2, the best 2 offers will display for this decision scope.

    note note
    NOTE
    You can request up to 30 offers.
  5. Repeat the steps above to add as many decisions as you need.

    note note
    NOTE
    Even if you define several decision scopes, only one API request is simulated.

Define simulation settings define-simulation-settings

To edit the default settings for your simulations, follow the steps below.

  1. Click Settings.

  2. In the Deduplication section, you can choose to allow duplicate offers accross decisions and/or placements. It means that multiple decisions/placements may get assigned the same offer.

    note note
    NOTE
    By default, all Deduplication flags are enabled for simulation, which means that the decision engine allows duplicates and thus can make the same proposition accross multiple decisions/placements. Learn more on the Decisioning API request properties in this section.
  3. In the Response format section, you can choose to include metadata in the code view. Check the corresponding option, and select the metadata of your choice. They will be displayed in the request and response payloads when selecting View code. Learn more in the View simulation results section.

    note note
    NOTE
    When turning on the option, all items are selected by default.
  4. Click Save.

NOTE
Currently for simulation data you can only use the Hub API.

View simulation results simulation-results

Once you added a decision scope and selected a test profile, you can view the results.

  1. Click View results.

  2. The best available offer(s) are displayed according to the selected profile for each decision.

    Select an offer to display its details.

  3. Click View code to display the request and response payloads. Learn more

  4. Select another profile from the list to display the results of the offer decisions for a different test profile.

  5. You can add, remove or update the decision scopes as many times as needed.

NOTE
Each time you change profiles or update decision scopes, you need to refresh the results using the View results button.

View code view-code

  1. Use the View code button to display the request and response payloads.

    The code view shows the developer information for the current user. By default, the Response payload is displayed.

  2. Click Response payload or Request payload to navigate between the two tabs.

  3. To use the request payload outside of Journey Optimizer - for troubleshooting purpose for example, copy it using the Copy to clipboard button on top of the code view.

    note note
    NOTE
    When copying the request or response payloads into your own code, make sure you replace {USER_TOKEN} and {API_KEY} with valid values. Learn how to retrieve these values in the Adobe Experience Platform APIs documentation.
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76