Create Custom Audience
meta_create_custom_audienceCreate custom audiences in Meta Ads from website visitors, engagement, or video viewers. Define audience name, type, and retention period to target specific user groups.
Instructions
Creates a new custom audience in a Meta ad account.
Supported types:
CUSTOM: Website visitors (requires Pixel), app activity, or customer list
ENGAGEMENT: People who engaged with your content
VIDEO: People who watched your videos
Args:
ad_account_id (string): Ad account ID (e.g., act_123456789)
name (string): Audience name
subtype (string): CUSTOM, ENGAGEMENT, VIDEO, WEBSITE, or APP
description (string, optional): Audience description
customer_file_source (string, optional): For CUSTOM type — USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY, BOTH_USER_AND_PARTNER_PROVIDED
retention_days (number, optional): Days to retain audience members (1–180)
Returns the new audience ID.
Note: Populating the audience with users is a separate step requiring the Audiences API to upload hashed data or configure a rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_account_id | Yes | ||
| name | Yes | ||
| subtype | Yes | Audience type | |
| description | No | ||
| customer_file_source | No | Required for CUSTOM type | |
| retention_days | No | Retention window in days | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |