ImportAudienceDefinitions
  • 1 Minute to read
  • Dark
    Light
  • PDF

ImportAudienceDefinitions

  • Dark
    Light
  • PDF

Article summary

Import existing audience definitions from file

KeyValue(s)Description
method"ImportAudienceDefinitions"Import existing audience definitions from file
filename"filename"name of audience file to import.   This is the file generated using ExportAudienceDefinitions.  filename will be looked for in the campaign export location, as defined in the campaign definition file.
status"statusString"Optional Filter.  Available status:
  • *  (All)
  • draft
  • live
  • ended
  • cancelled
archiveStatus"statusString"Optional Filter.  Available status:
  • *  (All)
  • active
  • archived
creator"creatorEmail"Filter results to import only audiences created by specified user
user"userEmail"Filter results to import only audiences 


{
  "method": "ImportAudienceDefinitions",
  "filename": "myaudiences.json",
  "project": "eyeota-audience"
}
{
  "method": "ImportAudienceDefinitions",
  "filename":"audiences.json"
}
...

return....

{
  "added": 0,
  "replaced": 0,
  "skipped": 4,
  "failed": 0,
}
{
  "method": "ImportAudienceDefinitions",
  "overwrite": true,
  "filename": "audiences.json",
  "project": "eyeota"
}


{
  "method": "ImportAudienceDefinitions",
  "overwrite": true,
  "reassignIds": true,
  "filename": "audiences.json",
  "project": "eyeota"
}

Was this article helpful?