Hi @marc_stowe_za ,
If I understand correctly, you are building a custom destination using Destination SDK, which you would like to integrate with Adobe Experience Platform (AEP) in order to export audiences from AEP to your destination.
You mentioned a configuration flag that users will set during the destination setup. When this flag is set to true, you expect the segment (audience) name to be exported to your destination.
If you’re building a streaming destination, then yes, this is supported. Based on Adobe’s documentation, you can use the segmentMappingConfig object to control what AEP metadata is mapped:
"segmentMappingConfig": {
"mapExperiencePlatformSegmentName": true,
"mapExperiencePlatformSegmentId": false,
"mapUserInput": false
}
https://experienceleague.adobe.com/en/docs/experience-platform/destinations/destination-sdk/functionality/destination-configuration/audience-metadata-configuration
In this case, setting mapExperiencePlatformSegmentName: true will ensure the destination receives the Experience Platform segment (audience) name as the mapping ID during activation.
To implement this properly, you should also define an audience metadata template using the /authoring/audience-templates endpoint and link it in your destination config via the audienceMetadataConfig like this:
"audienceMetadataConfig": {
"audienceTemplateId": "YOUR_AUDIENCE_TEMPLATE_ID"
}
⚠️ Important: All parameter names and values are case-sensitive.
While I haven’t personally built a full streaming destination using the SDK, I would recommend checking Adobe’s existing streaming destination examples or built-in destinations (like Meta or Google, Azure event etc) to see how they handle audience metadata mapping. This can give you a working reference to validate your expectations.
You can reach out to Adobe support also.
Hope it will help you!
Best regards,
Parvesh