Skip to content

Create an ad set

Updated: Jun 24, 2026

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/v25.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

NameDescription
nameThe name of the ad set.
campaign_idThe ID of the campaign to which the ad set belongs.
daily_budgetThe daily budget specified in cents.
targetingThe target audience based on geographic locations.

Learn more

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About