create_custom_audience
Create a custom audience from an uploaded file or as an empty/small audience. Submit the audience details, then poll the status until published to get a usable custom audience ID.
Instructions
Create a custom audience from an uploaded file (provide file_id) or as empty/small audience if enabled. Processing is async — poll via get_custom_audience until published. Returns custom_audience_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Audience name 3–1000 chars. | |
| file_id | No | File ID from upload_audience_file (omit for empty audience if enabled). | |
| filename | No | Original filename .csv/.txt. | |
| mimetype | No | ||
| file_size | No | File size bytes 1–500M. | |
| description | No | Optional description. | |
| ad_account_id | No | ||
| identifier_type | No | Identifier type if file has single column. | |
| identifier_resolution | No | Use auto for mixed CSV with headers email,phone_number,email_sha256,phone_number_sha256,gaid. |