--- title: "ExportAudienceRules" slug: "exportaudiencerules" updated: 2024-06-28T13:21:19Z published: 2024-06-28T13:21:19Z canonical: "docs.datajet.app/exportaudiencerules" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # ExportAudienceRules Exports to file for the segments and summary counts for the audience | Key | Value(s) | Description | | --- | --- | --- | | method | "ExportAudienceRules" | Exports to file for the fields defined in campaign root, each unique key-field value in the audience | | name | "Audience name" | Optional. Name of audience from which to build unique key list. | | filename | export file name | Name of output file. No path required as this is configured in the project campaign definition file. | ```json { "method": "ExportAudienceRules", "name": "Movies", "filename": "MovieRules.xlsx", "description": "", "project": "Rg2-Audience" } ```