Ads and Commerce
Ads and Commerce
Resources

Create an Ad

Updated: Nov 22, 2024
The ad set and the ad creative come together to create the ad itself.
You create the ad by sending a POST request to the /act_<AD_ACCOUNT_ID>/ads endpoint along with parameters such as the adset_id and creative details.
Example API Request:
curl -X POST \
  https://graph.facebook.com/v25.0/act_<AD_ACCOUNT_ID>/ads \
  -F 'name=My Ad' \
  -F 'adset_id=AD_SET_ID' \
  -F 'creative={"creative_id": "<CREATIVE_ID>"}' \
  -F 'status=ACTIVE' \
  -F 'access_token=<ACCESS_TOKEN>'

Required Parameters

Name Description
adset_id
The ID of the ad set under which the ad will run.
creative
Contains the creative ID for the ad.
status
Set to ACTIVE to launch the ad immediately.

Learn More

Did you find this page helpful?
Thumbs up icon
Thumbs down icon