--- title: "CreateCampaignDataSet" slug: "createcampaigndataset" updated: 2024-05-21T15:39:51Z published: 2024-05-21T15:39:51Z canonical: "docs.datajet.app/createcampaigndataset" --- > ## 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. # CreateCampaignDataSet Add a dataset to the Primary Contact Table | Key | Value(s) | Description | | --- | --- | --- | | method | "CreateCampaignDataSet" | Add a dataset to the Primary Contact Table | | overwrite | true/false | If 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 | ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1716305868828.png) ```json { "method": "CreateCampaignDataSet", "overwrite": true, "name": "Audience - Science Interest", "ids": [ [ "10004", "10007", "10005", "10012" ] ], "project": "eyeota" } ``` ```json { "method": "CreateCampaignDataSet", "project": "test1", "overwrite": true, "name": "Audience - Over65 or retired Buick owners", "ids": [ [ "90141" ], [ "11953", "19025" ] ] } ```