Custom resources custom-resources

Adobe Campaign comes with a pre-defined data model, where data is defined through different resources. You can enrich the data model that is provided by extending the resources to add your own custom fields or custom tables, such as purchase or product tables.

Custom resources are accessible through APIs using the /profileAndServicesExt endpoint, and the custom resource name.<ORGANIZATION>/campaign/profileAndServicesExt/<resourceName>/

For resources that are not out-of-the-box, always use the “cus” prefix before the resource’s name.

You can perform any operation with custom resources, as long as they are linked to the Profile table. For example, let’s consider the tables structure below:

alt text

In that case, all resources from the Transaction, TransactionDetails and Product tables are available as long as they are linked to the Profile table.

Sample request

Sample GET request to access the extended profileAndServicesExt resource.

-X GET<ORGANIZATION>/campaign/profileAndServicesExt/\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
-H 'Cache-Control: no-cache' \
-H 'X-Api-Key: <API_KEY>' \

It returns the list of all linked custom resources. You can then use the resources URLs to perform any API task described in this documentation.

"apiName": "resourceType",
"cusProduct": {
        "content": ...,
        "data": "/profileAndServicesExt/cusProduct/",
        "help": "Product",
        "href": "<ORGANIZATION>/campaign/profileAndServicesExt/cusProduct/metadata",
        "name": "cusProduct",
        "type": "collection"
"cusTransaction": {
        "content": ...,
        "data": "/profileAndServicesExt/cusTransaction/",
        "help": "Product",
        "href": "<ORGANIZATION>/campaign/profileAndServicesExt/cusTransaction/metadata",
        "name": "cusProduct",
        "type": "collection"

For more information on data model extension, refer to the Campaign documentation: