After signing in, you can create credentials that can be used to call the Platform APIs.
Download OpenAPI specification:Download
Adobe Experience Platform Data Governance simplifies and streamlines the process of categorizing data and creating data usage policies. Once data labels have been applied and data usage policies are in place, marketing actions can be evaluated to ensure the correct use of data.
Use the Policy Service API to programmatically manage data usage labels, policies, and marketing actions. The API also provides endpoints to evaluate marketing actions against specific data usage labels to test for policy violations.
Note: You can use the Dataset Service API to manage data usage labels for an existing dataset.
Related documentation:
Visualize API calls with Postman (a free, third-party software):
API paths:
Required headers:
Authorization
, x-gw-ims-org-id
, and x-api-key
. For more information on how to obtain these values, see the authentication tutorial.x-sandbox-name
whose value is the all-lowercase name of the sandbox the operation will take place in (for example, "prod"). See the sandboxes overview for more information.Content-Type
with a value of application/json
.API error handling:
You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your authentication credentials and use the Try it functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes.
Data usage labels allow you to categorize datasets and fields according to usage policies that apply to that data.
NOTE: For more information on using this operation, see the labels endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Core labels retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "C1",
- "category": "Contract",
- "friendlyName": "Aggregate export only",
- "description": "Data can only be exported from Adobe Experience Cloud in an aggregated form without including individual or device identifiers.",
- "_links": {
}
}
]
}
NOTE: For more information on using this operation, see the labels endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Core label retrieved successfully
Core label not found
{- "name": "C1",
- "category": "Contract",
- "friendlyName": "Aggregate export only",
- "description": "Data can only be exported from Adobe Experience Cloud in an aggregated form without including individual or device identifiers.",
- "_links": {
}
}
NOTE: For more information on using this operation, see the labels endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom labels retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "L2",
- "category": "Custom",
- "friendlyName": "Purchase History Data",
- "description": "Data containing information on past transactions",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
NOTE: For more information on using this operation, see the labels endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom label retrieved successfully
Custom label not found
{- "name": "L2",
- "category": "Custom",
- "friendlyName": "Purchase History Data",
- "description": "Data containing information on past transactions",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
You can use this endpoint to create or update a custom label. If the label with the given name does not exist, the custom label will be created. If the label with the given name does exist, the custom label will be updated.
NOTE: For more information on using this operation, see the labels endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom label updated successfully
Custom label created successfully
Invalid request payload
{- "name": "C1",
- "category": "Custom",
- "friendlyName": "Aggregate export only",
- "description": "Data can only be exported from Adobe Experience Cloud in an aggregated form without including individual or device identifiers."
}
{- "name": "L2",
- "category": "Custom",
- "friendlyName": "Purchase History Data",
- "description": "Data containing information on past transactions",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
Data usage policies are rules that describe the kinds of marketing actions that are allowed or not allowed to be performed on data within Adobe Experience Platform.
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Core policies retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "Restrict email targeting",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Restrict use of data labeled C4 OR C5 for email targeting.",
- "deny": {
- "operator": "OR",
- "operands": [
- {
- "label": "C4"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
], - "label": "C5"
}
]
}, - "_links": {
}, - "id": "corepolicy_0003"
}
]
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Policy retrieved successfully
Policy not found
{- "name": "Restrict email targeting",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Restrict use of data labeled C4 OR C5 for email targeting.",
- "deny": {
- "operator": "OR",
- "operands": [
- {
- "label": "C4"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
], - "label": "C5"
}
]
}, - "_links": {
}, - "id": "corepolicy_0003"
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom policies retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
The custom policy to be created.
name | string The name of the policy |
status | string The status of the policy |
marketingActionRefs | Array of strings <uri> List of marketing action URI references to which this policy applies. |
description | string A description of what this policy enforces. Specifically, the reasoning behind the denial of these marketing actions in the presence of the data usage labels. |
object (PolicyExpression) A boolean expression to be evaluated over the presence of data usage labels, referred to as a "policy expression". Note that a policy expression must consist of either a label or an operator and operands. Each operand in turn is itself a policy expression. You cannot specify both a label and an operator/operand in combination. See the Policy Service API guide for more details on how to configure this property. |
Custom policy created successfully
Invalid request payload
{- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}
}
{- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom policy retrieved successfully
Custom policy not found
{- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
The updated information for the policy, in its entirety.
name | string The name of the policy |
status | string The status of the policy |
marketingActionRefs | Array of strings <uri> List of marketing action URI references to which this policy applies. |
description | string A description of what this policy enforces. Specifically, the reasoning behind the denial of these marketing actions in the presence of the data usage labels. |
object (PolicyExpression) A boolean expression to be evaluated over the presence of data usage labels, referred to as a "policy expression". Note that a policy expression must consist of either a label or an operator and operands. Each operand in turn is itself a policy expression. You cannot specify both a label and an operator/operand in combination. See the Policy Service API guide for more details on how to configure this property. |
Policy updated successfully
Invalid request payload
Policy not found
{- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}
}
{- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Policy deleted successfully
Policy not found
{- "type": "string",
- "status": 404,
- "title": "NotFound",
- "detail": "https://platform.adobe.io:443/policies/custom/12345 not found"
}
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
Use JSON Patch to update a portion of a policy.
Policy updated successfully
Invalid request payload
Policy not found
{- "op": "add",
- "path": "string",
- "value": { }
}
{- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy 001",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
Unless explicitly indicated otherwise, only enabled policies participate in evaluation. The Policy Service API maintains a list of enabled core policies for your organization that you can manage using single API calls.
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
Enabled core policies retrieved successfully
{- "policyIds": [
- "string"
], - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{CLIENT_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{CLIENT_ID}",
- "_links": {
}
}
You can use this endpoint to create or update the list of enabled core policies.
NOTE: For more information on using this operation, see the policies endpoint guide on Experience League.
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
List of core policy IDs.
Enabled core policies updated successfully
Invalid request payload
Policy update violates existing entities
{- "policyIds": ""
}
{- "policyIds": [
- "string"
], - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{CLIENT_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{CLIENT_ID}",
- "_links": {
}
}
Marketing actions, in the context of Data Governance, are actions that an Experience Platform data consumer takes, for which there is a need to check for violations of data usage policies.
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Core marketing actions retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "exportToThirdParty",
- "friendlyName": "Export to Third Party",
- "_links": {
}
}
]
}
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Marketing action retrieved successfully
Marketing action not found
{- "name": "exportToThirdParty",
- "friendlyName": "Export to Third Party",
- "_links": {
}
}
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom marketing actions retrieved successfully
{- "_page": {
- "count": 1
}, - "children": [
- {
- "name": "analyticsDB",
- "description": "Push data to external database for analytics.",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Custom marketing action retrieved successfully
Custom marketing action not found
{- "name": "analyticsDB",
- "description": "Push data to external database for analytics.",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
You can use this endpoint to create or update a custom marketing action. If the marketing action with the given name does not exist, it will create a new marketing action. If the marketing action with the given name exists, it will update the existing marketing action.
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
Details for the new or updated marketing action.
Custom marketing action updated successfully
Custom marketing action created successfully
Invalid request payload
{- "name": "analyticsDB",
- "description": "Push data to external database for analytics."
}
{- "name": "analyticsDB",
- "description": "Push data to external database for analytics.",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
NOTE: For more information on using this operation, see the marketing actions endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Marketing action deleted successfully
Marketing action not found
{- "type": "string",
- "status": 404,
- "title": "NotFound",
- "detail": "https://platform.adobe.io:443/marketingActions/custom/marketingActionName not found"
}
The policy evaluation endpoints allow you to test a marketing action against specific labels or against datasets and fields to check for policy violations.
This call returns a set of constraints that would govern an attempt to perform the given marketing action on a hypothetical source of data containing specific data usage labels.
You can also evaluate a marketing action based on the labels contained in an actual dataset in your data stores. See the POST method for this endpoint for more information.
NOTE: For more information on using this operation, see the policy evaluation endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Marketing action constraints retrieved successfully
Marketing action not found
{- "timestamp": 1529699072556,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/core/emailTargeting",
- "duleLabels": [
- "C1",
- "C3"
], - "violatedPolicies": [
- {
- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
This call returns a set of constraints that would govern an attempt to perform the given marketing action on an existing data source in Platform. The source data (typically a dataset) is specified by the entityType
and entityId
of the elements in the request body. In the case of a dataset entity, a set of fields may also be specified in the entityMeta
to indicate that only those fields from that dataset should be used in the evaluation. The returned constraints take the form of a set of policies that would be violated by attempting the marketing action on the dataset(s) and/or field(s).
You can also evaluate a marketing action based on a defined set of usage labels instead of testing against an actual data source. See the GET method for this endpoint for more information.
NOTE: For more information on using this operation, see the policy evaluation endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
An array that lists the entities for which to retrieve labels. This can include dataset IDs and individual fields within those datasets.
Marketing action dataset constraints retrieved successfully
Invalid request payload
Marketing action not found
[- {
- "entityType": "dataSet",
- "entityId": "5b1e3c867e6d2600003d5b49",
- "entityMeta": {
- "fields": [
- "emailAddress",
- "fullName"
]
}
}
]
{- "timestamp": 1529699072556,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/core/emailTargeting",
- "duleLabels": [
- "C1",
- "C3"
], - "discoveredLabels": [
- {
- "entityType": "dataSet",
- "entityId": "5b1e3c867e6d2600003d5b49",
- "dataSetLabels": {
- "connection": [
- "C1"
], - "dataSet": [
- "C1",
- "C3"
], - "fields": [
- {
- "path": "/emailAddress",
- "labels": [
- "C1",
- "C3",
- "C7"
]
}, - {
- "path": "/fullName",
- "labels": [
- "C1",
- "C3"
]
}
]
}
}
], - "violatedPolicies": [
- {
- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
This call returns a set of constraints that would govern an attempt to perform the given marketing action on a hypothetical source of data containing specific data usage labels.
You can also evaluate a marketing action based on the labels contained in an actual dataset in your data stores. See the POST method for this endpoint for more information.
NOTE: For more information on using this operation, see the policy evaluation endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Marketing action constraints retrieved successfully
Marketing action not found
{- "timestamp": 1529699072556,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/custom/analyticsDB",
- "duleLabels": [
- "C1",
- "C3"
], - "violatedPolicies": [
- {
- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
This call returns a set of constraints that would govern an attempt to perform the given marketing action on an existing data source in Platform. The source data (typically a dataset) is specified by the "entityType" and "entityId" of the elements in the request body. In the case of a dataset entity, a set of fields may also be specified in the "entityMeta" to indicate that only those fields from that dataset should be used in the evaluation. The returned constraints take the form of a set of policies that would be violated by attempting the marketing action on the dataset(s) and/or field(s).
You can also evaluate a marketing action based on a defined set of usage labels instead of testing against an actual data source. See the GET method for this endpoint for more information.
NOTE: For more information on using this operation, see the policy evaluation endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
Content-Type required | string The type of content being sent in the body of the request. In POST, PUT, or PATCH requests to the Policy Service API, the value must be set to |
An array that lists the entities for which to retrieve labels. This can include dataset IDs and individual fields within those datasets.
Marketing action dataset constraints retrieved successfully
Bad request
Marketing action not found
[- {
- "entityType": "dataSet",
- "entityId": "5b1e3c867e6d2600003d5b49",
- "entityMeta": {
- "fields": [
- "emailAddress",
- "fullName"
]
}
}
]
{- "timestamp": 1529699072556,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/custom/analyticsDB",
- "duleLabels": [
- "C1",
- "C3"
], - "discoveredLabels": [
- {
- "entityType": "dataSet",
- "entityId": "5b1e3c867e6d2600003d5b49",
- "dataSetLabels": {
- "connection": [
- "C1"
], - "dataSet": [
- "C1",
- "C3"
], - "fields": [
- {
- "path": "/emailAddress",
- "labels": [
- "C1",
- "C3",
- "C7"
]
}, - {
- "path": "/fullName",
- "labels": [
- "C1",
- "C3"
]
}
]
}
}
], - "violatedPolicies": [
- {
- "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "name": "Email Policy",
- "status": "ENABLED",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "operator": "OR",
- "operands": [
- {
- "label": "C3"
}, - {
- "label": "C7"
}
]
}
]
}, - "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
}
}
]
}
This endpoint allows you to run a list of policy evaluations in bulk, so you don't have to call the ../{MARKETING_ACTION_NAME}/constraints endpoint multiple times.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
An array of policy evaluation jobs to perform in bulk. Each job must evaluate based on one of the following:
To evaluate a marketing action based on both labels and datasets, you must include two separate jobs for that action: one that includes a labels array, and one that contains an entityList array.
NOTE: For more information on using this operation, see the policy evaluation endpoint guide on Experience League.
Policy evaluation results retrieved successfully
Invalid request payload
[- {
- "includeDraft": false,
- "labels": [
- "C1",
- "C2",
- "C3"
]
}, - {
- "includeDraft": false,
- "entityList": [
- {
- "entityType": "dataSet",
- "entityId": "5b67f4dd9f6e710000ea9da4",
- "entityMeta": {
- "fields": [
- "address"
]
}
}
]
}
]
[- {
- "status": 200,
- "body": {
- "timestamp": 1595866566165,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/core/emailTargeting",
- "duleLabels": [
- "C1",
- "C2",
- "C3"
], - "violatedPolicies": [ ]
}
}, - {
- "status": 200,
- "body": {
- "timestamp": 1595866566165,
- "clientId": "{CLIENT_ID}",
- "userId": "{USER_ID}",
- "imsOrg": "{IMS_ORG}",
- "sandboxName": "prod",
- "marketingActionRef": "https://platform.adobe.io:443/data/foundation/dulepolicy/marketingActions/core/emailTargeting",
- "duleLabels": [
- "C1",
- "C2"
], - "discoveredLabels": [
- {
- "entityType": "dataset",
- "entityId": "5b67f4dd9f6e710000ea9da4",
- "dataSetLabels": {
- "connection": {
- "labels": [ ]
}, - "dataset": {
- "labels": [
- "C1",
- "C2"
]
}, - "fields": [ ]
}
}
], - "violatedPolicies": [
- {
- "name": "Email Policy",
- "status": "DRAFT",
- "marketingActionRefs": [
], - "description": "Conditions under which we won't send marketing-based email",
- "deny": {
- "operator": "AND",
- "operands": [
- {
- "label": "C1"
}, - {
- "label": "C3"
}
]
}, - "id": "76131228-7654-11e8-adc0-fa7ae01bbebc",
- "imsOrg": "{IMS_ORG}",
- "created": 1529696681413,
- "createdClient": "{CLIENT_ID}",
- "createdUser": "{USER_ID}",
- "updated": 1529697651972,
- "updatedClient": "{CLIENT_ID}",
- "updatedUser": "{USER_ID}",
- "_links": {
- "self": {
- "href": "./76131228-7654-11e8-adc0-fa7ae01bbebc"
}
}
}
]
}
}
]