upload_audience_file
Upload audience data as CSV/TXT to get a reusable file_id for creating custom audiences or adding members to existing ones.
Instructions
Upload a file for custom audience creation (CSV/TXT up to 500MB). Returns file_id (oaisdmntci_...) to use in create_custom_audience or add_audience_members. Provide file_base64 (base64 of CSV/TXT). Purpose is always custom_audience.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename with extension .csv or .txt (1–255 chars). | |
| mimetype | No | MIME type (default text/csv). | |
| file_base64 | Yes | Base64-encoded file bytes (CSV/TXT). | |
| ad_account_id | No |