Create an ad set
Updated: Oct 26, 2026
Copy for LLM
Ads in WhatsApp Status are available via the Marketing API. Learn more about ads in WhatsApp Status.
After creating your ad campaign, the next step is to create an ad set to add to your campaign. The ad set contains the bidding, targeting, and budget information for your campaign.
To create an ad set within your campaign, send a
POST request to the /act_<AD_ACCOUNT_ID>/adsets endpoint. Specify the name of the ad set, the associated campaign_id, targeting specifications, and daily_budget details.Example API request:
curl -X POST \
https://graph.facebook.com/v27.0/act_<AD_ACCOUNT_ID>/adsets \
-F 'name=My Ad Set' \
-F 'campaign_id=<CAMPAIGN_ID>' \
-F 'daily_budget=1000' \
-F 'targeting={"geo_locations":{"countries":["US"]}}' \
-F 'access_token=<ACCESS_TOKEN>'
Required parameters
| Name | Description |
|---|---|
name | The name of the ad set. |
campaign_id | The ID of the campaign to which the ad set belongs. |
daily_budget | The daily budget specified in cents. |
targeting | The target audience based on geographic locations. |
Retry safely
This endpoint supports idempotent requests. To retry a failed request without creating a duplicate ad set, send the same request with the same key in the
X-Client-Idempotent-Key header. See Idempotent requests.