# Adobe Campaign Classic

{% hint style="success" %}
**Available for:** Preference Management Platform (PMP)

**Premium Feature:** Adobe Campaign Classic
{% endhint %}

Didomi allows you to synchronize your Adobe Campaign subscriptions with the preferences collected through Didomi consent events.

{% hint style="info" %}
Alternatively, the Adobe Campaign Classic integration can be performed directly from the Didomi console for the Preference Management Platform (PMP).&#x20;
{% endhint %}

## Implementation

### Connection

Didomi interacts with the Adobe Campaign Classic XML API using the [Subscribe](https://experienceleague.adobe.com/developer/campaign-api/api/sm-subscription-Subscribe.html) SOAP method to subscribe or unsubscribe recipients from services depending on their consent choices. Each recipient subscription belongs to an Adobe Campaign folder and has a unique identifier (recipient key) which is linked to the corresponding Didomi user through the `organization_user_id` property.

{% hint style="warning" %}
**Note**: In order to ensure that events are received, Didomi will retry at least five times in the span of five minutes before moving on when your endpoint is down.
{% endhint %}

### Options

* **Upsert mode**: Please note that the upsert\_mode option is not supported for Adobe Campaign Classic.
* **Bidirectional flow**: Please note that the bidirectional flow is not supported at the moment.

## Configuration

Didomi needs the following configuration items to setup the connection with Adobe Campaign Classic:

| Property                      | Description                                                             | Required |
| ----------------------------- | ----------------------------------------------------------------------- | -------- |
| **Server URL**                | URL of the Adobe Campaign Classic server                                | Yes      |
| **Username**                  | Username to connect to the Adobe Campaign Classic server                | Yes      |
| **Password**                  | Password to connect to the Adobe Campaign Classic server                | Yes      |
| **Custom Subscribe action**   | Custom SOAP action to subscribe to a service list                       | No       |
| **Custom Unsubscribe action** | Custom SOAP action to unsubscribe from a service list                   | No       |
| **Mappings**                  | List of services to match between Didomi preferences and Adobe Campaign | Yes      |

### Example

```json
{
    "type_id": "adobe-campaign-classic",
    "authentication": {
        "url": "YOUR_SERVER_URL",
        "username": "USERNAME",
        "password": "PASSWORD"
    },
    "properties": {
        "subscribe_action": "Subscribe",
        "unsubscribe_action": "Unsubscribe"
    },
    "mappings": [
        {
            "id": "MY_NEWSLETTER_SERVICE",
            "value": "consents_preferences_newsletter_enabled",
        }
    ],
    "enable_emailing": false
}
```
