CreateCampaignDataSet
  • 1 Minute to read
  • Dark
    Light
  • PDF

CreateCampaignDataSet

  • Dark
    Light
  • PDF

Article summary

Add a dataset to the Primary Contact Table

KeyValue(s)Description
method"CreateCampaignDataSet"Add a dataset to the Primary Contact Table
overwritetrue/falseIf true, existing audience will be overwritten.
If false and audience already exists, error will be raised.
name"AudienceName"Name of audience to save/update
ids[][
["NNN", "NNN" ]
["NNN"}
]
Arrays of campaign Ids, organised into groups that are ANDED together.  Each group is contained within it's own sub-array

{
  "method": "CreateCampaignDataSet",
  "overwrite": true,
  "name": "Audience - Science Interest",
  "ids": [
    [
      "10004",
      "10007",
      "10005",
      "10012"
    ]
  ],
  "project": "eyeota"
}


{
  "method": "CreateCampaignDataSet",
  "project": "test1",
  "overwrite": true,
  "name": "Audience - Over65 or retired Buick owners",
  "ids": [
    [
      "90141"
    ],
    [
      "11953",
      "19025"
    ]
  ]
}

Was this article helpful?

What's Next