Step 1: Review the Audience Manager APIs
The Getting Started with REST APIs section contains information about general requirements, authentication, available methods, etc. This is a good place to begin if you haven’t worked with the Audience Manager API before.
Step 2: Request OAuth2 access credentials
You need a client ID and secret to make API calls. You can obtain a client ID and secret from your integration specialist during the integration set up process. You can also send an email request to Audience Manager Customer Care at amsupport@adobe.com.
Step 3: Collect customer-specific information from each integrated customer
Request the following from each integrated customer:
- Username: This is for a restricted user that has read-only permissions for the destination associated with a specific integration.
- Password: The user password.
- Destination ID: This is the ID (an integer) associated with the destination created for the specific server-to-server integration.
Step 4: Retrieve segment metadata with an API call
After completing the previous steps, you can use a GET
method to retrieve segment metadata. For a sample request and response, see Return Destination Mappings. This call returns segment data formatted as key-value pairs in a JSON object. Some of the important segment attributes returned in the response are listed in the following table.
Parameter | Description |
---|---|
destinationMappingId | The Audience Manager segment ID. |
elementName | The segment name. |
elementDescription | Some text that briefly describes the segment. |
elementStatus |
The current status of the segment mapping. Returned status options include:
|