Expand my Community achievements bar.

SOLVED

Creating an Audience based on Map field

Avatar

Level 7

Hi there,

 

I am looking to create a segment based on a Map field, in particular, from the idSpecific map field of the Consent field group. I am not too sure what to put in the Identifier specific, Identifier Type field, couldn't find the documentation for it. Wondering if someone can provide some insight? 

 

Using this example, if I want to target at ECID level, what would I put?

"idSpecific": {
  "email": {
    "jdoe@example.com": {
      "marketing": {
        "email": {
          "val": "n"
        }
      }
    }
  },
  "ECID": {
    "37784337855396895622558625508046772577": {
      "collect": {
        "val": "y"
      },
      "adID": {
        "val": "n"
      },
      "marketing": {
        "push": {
          "val": "n"
        }
      }
    }
  }
}

akwankl_1-1706899815866.png

Thank you.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @akwankl 

 

You can just check the checkbox which says "find any matching item"

or manually enter the values like this

Manoj_Kumar__0-1707101242947.png

 

I prefer option 1 because the JSON structure of the consent field group remains the same for my usecases.

 

 

 


     Manoj
     Find me on LinkedIn

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hello @akwankl 

 

You can just check the checkbox which says "find any matching item"

or manually enter the values like this

Manoj_Kumar__0-1707101242947.png

 

I prefer option 1 because the JSON structure of the consent field group remains the same for my usecases.

 

 

 


     Manoj
     Find me on LinkedIn

Avatar

Level 7

Hey @_Manoj_Kumar_ ,

 

Thanks for responding. For the "Find any matching item" option, is it like a "like" clause in SQL where it looks for patterns input in the inbox?

Avatar

Administrator

@akwankl Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.