Expand my Community achievements bar.

How to Optin One click optin Again

Avatar

Level 3

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

9 Replies

Avatar

Employee Advisor

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

Avatar

Level 3

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

Avatar

Employee Advisor

@gengaipandi03 

The idSpecific attribute lives in the Consent Dataset (often named with consent, profileConsent, or similar).

  • In most implementations, it’s tied directly to the Adobe Experience Platform XDM Individual Profile schema.
  • The full field path (example):
    consents.idSpecific.Email.<email_address>.marketing.email.val
    

Locate the Dataset

  • 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.

Avatar

Employee Advisor

@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

Avatar

Level 3

gengaipandi03_0-1756707882898.png

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. 

 

Avatar

Employee Advisor
  • On the mapping screen, select the appropriate fields from your uploaded data to match the schema fields.
  • Map:
    • Email.key ⟶ the email address (from your data)
    • Email.value.marketing.email.val ⟶ opt-in/out value
    • Email.value.marketing.email.time ⟶ timestamp

If 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.

Avatar

Level 2

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

IamCGK_0-1756728924283.png

 

Avatar

Level 3

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. 

Avatar

Employee Advisor

@gengaipandi03 what's the error?