ExportAudience
- 1 Minute to read
- Print
- DarkLight
- PDF
ExportAudience
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Exports to file for the fields defined in campaign root, each unique key-field value in the audience
Key | Value(s) | Description |
---|---|---|
method | "ExportAudience" | Exports to file for the fields defined in campaign root, each unique key-field value in the audience |
overwrite | true/false | if true, overwrites file if it exists |
name | "Audience name" | Optional. Name of audience from which to build unique key list. |
notify | true/false | Optional. If true, a notification will be generated. |
ids | [] | Optional. List of segment ids from which to build unique key list |
debug | true/false | Optional. If true, debug information will be returned. |
filename | export file name | Name of output file. No path required as this is configured in the project campaign definition file. |
prefix | "prefix string" | String to prefix to audience key |
suffix | "suffix string" | String to suffix to audience key |
Either "ids" or "audience" should be specified
The following campaign variables can be used in the prefix and suffix strings:
- %AUDIENCEID%
- %AUDIENCENAME%
These will be resolved to the Audience ID or Audience Name at the time of output.
{
"method": "ExportCampaignDataSet",
"overwrite": true,
"ids": [
[
"10004",
"10005",
"10007"
],
[
"10013",
"10016"
],
[
"11304",
"11305"
]
],
"filename": "Diverse_Interests.dat",
"description": "Diverse Interests",
"project": "eyeota"
}
{
"method": "ExportAudience",
"project": "eyeota-audience",
"overwrite": true,
"name": "Over65 or retired Buick owners",
"filename": "Over65_or_retired_Buick_owners.dat",
"description": "",
"prefix": "US|",
"suffix": "|%AUDIENCEID%"
}
Was this article helpful?