When we use one click unsubscribe as channel, i see the below value is modified.
"idSpecific": { "Email": { "abce@hotmail.com": { "marketing": { "email": { "val": "n", "time": "2025-08-21T03:35:23.983335Z" }
How do we modify this value to n to y. So that user can optin again. I tried landing page identity based email optout. but it is not updating the above value instead it created using identity value like the below.
"CompKey": { "1234": { "marketing": { "email": { "val": "y", "time": "2025-08-28T02:41:55.421381Z"
Please suggest
Views
Replies
Total Likes
Ensure the same profile is marked as a test profile by setting testProfile attribute to true.
Then open the landing page with the profile that was marked as test profile via Simulate content (and select "Opt in if checked " option using identity option)
or
You can use streaming API to update this profiles or use batch update by ingesting it to dataset using a file with the identity and y as value for marketing email value
Views
Replies
Total Likes
when we load the profile using batch what is the dataset we need to use it. Can you give more details. because i tried the identity option already. i used the one click unsubscribe with channel option to unsubscribe. which shows different path than the identity one. I tried landing page to optin again. no use. So, suggest
Views
Replies
Total Likes
The idSpecific
attribute lives in the Consent Dataset (often named with consent
, profileConsent
, or similar).
consents.idSpecific.Email.<email_address>.marketing.email.val
Go to Experience Platform → Datasets.
Look for a dataset mapped to your profile schema with the Consent fields—common names:
Profile Consent Dataset
AJO Consent Preferences
Profile Preferences
In the UI, you can confirm by previewing the dataset and checking the schema mapping for fields under consents
.
Also: Your ingestion dataset MUST target the same schema as your unified profile for consents, or have it mapped for merge policies to pick up the update.
Views
Replies
Total Likes
@gengaipandi03 Once a user unsubscribes via one-click (header), their idSpecific
consent is set to n
and there is currently no out-of-the-box way to reset it to y
.
To re-subscribe (set consent value n
to y
on idSpecific
), you must perform an AEP ingestion/update directly to the dataset containing this consent field. This typically involves updating the consent data via API/batch ingestion
Views
Replies
Total Likes
How do we do the mapping for map value. i created the json file to load the same. even then it is asking me to map the values in this section.
Views
Replies
Total Likes
Email.key
⟶ the email address (from your data)Email.value.marketing.email.val
⟶ opt-in/out valueEmail.value.marketing.email.time
⟶ timestampIf you use the correct array of objects format, AEP will often auto-match. If not, you’ll need to manually drag and assign fields accordingly.
Views
Replies
Total Likes
Hey @gengaipandi03
I've actually encountered this scenario and tried mapping like below and worked. Do try the below mapping and update the consent values using streaming ingestion. Since idSpecific is a Map field, we can only map the outermost Map field as the target field. Feel free to try updating the map using Mapping API endpoint, where you can have more flexibility. Thanks
Views
Replies
Total Likes
do you have any payload which you have used?. please check my payload which i use it. Even, if i use the mapping like you suggested, it is throwing error and failed to upload the data.
Views
Replies
Total Likes
@gengaipandi03 what's the error?
Views
Replies
Total Likes