Audience Marketplace: Deleting Marketplace Feeds
Sometimes it becomes necessary to delete a feed, either because you set it up wrong and need to change something or because it's become outdated. Unfortunately, it's impossible to delete a feed using the UI in Adobe Audience Manager—there's just no button or toggle to do it there. However, you can delete a feed using the API.
- User Permissions—you must be able to sign in to the AAM user interface with a user that has adequate permissions to create Data Sources and Traits.
- OAuth Credentials—you must have a Client ID and Secret. You may have gotten these when you first engaged with the partner integrations team (mcpi) to create your Marketplace integration. If you didn't, reach out to the Exchange support team to get these credentials.
- Before you can delete a Marketplace feed, all users must have unsubscribed and the feed must be set to inactive (see this article for details).
Step 1—retrieve an access token
Follow the steps outlined in AAM Oauth Authentication to retrieve an "access_token". This token is required to be passed in the "Authorization" header for each API call going forward.
Authorization: Bearer 97416b85-73fa-4ac1-898d-141325eeeae8
Step 2—retrieve the Data Source ID
You need to know the Data Source ID of the data source associated with the feed. Note that when you delete the feed using the API, you will not delete the Data Source associated with the feed. You can retrieve the feed ID by going to the AAM interface and in the main menu clicking on Audience Data > Data Sources. Search for the data source associated with your feed and the ID will be listed in the first column of the Data Source list.
Or you can retrieve the ID via the API. Use the following GET request to search for your feed:
Replace the <keyword> with a keyword that identifies your feed—the API will use this to search for your feed. It will return something like this:
"name": "An example data feed",
"description": "An example feed set up for the deleting marketplace feeds article.",
Look for the dataSourceId value (at the bottom of the list).
Step 3—delete the feed
To delete the feed, make the following DELETE request to the API:
Replace the feed ID with the Data Source ID that you retrieved in step 2. E.g.:
If successful, you will receive a 204 response. And that's it!
Check out the Swagger docs for more information on Marketplace API calls.