| string | "match" | controls whether to use AND or OR when applying your options - expects "any" (for OR) or "all" (for AND) |
| array | "conditions" | - up to 10 different criteria to apply while segmenting. Each criteria row should contain 3 keys - "field", "op", or "value" based on these definitions: |
| |
| Field = "date" : Select based on various dates we track |
| Valid Op(eration): eq (is) / gt (after) / lt (before) |
| Valid Values: |
| string | last_campaign_sent | uses the date of the last campaign sent |
| string | campaign_id | - uses the send date of the campaign that carriers the Id submitted - see campaigns() |
| string | YYYY-MM-DD | - ny date in the form of YYYY-MM-DD - note: anything that appears to start with YYYY will be treated as a date |
| |
| Field = "interests": |
| Valid Op(erations): one / none / all |
| Valid Values: a comma delimited of interest groups for the list - see listInterestGroups() |
| |
| Field = "aim" |
| Valid Op(erations): open / noopen / click / noclick |
| Valid Values: "any" or a valid AIM-enabled Campaign that has been sent |
| |
| Default Field = A Merge Var. Use Merge0-Merge15 or the Custom Tag you've setup for your merge field - see listMergeVars() |
| Valid Op(erations): |
| eq (=)/ne(!=)/gt(>)/lt(<)/like(like '%blah%')/nlike(not like '%blah%')/starts(like 'blah%')/ends(like '%blah') |
| Valid Values: any string |