POST request to the /act_<AD_ACCOUNT_ID>/ads endpoint along with parameters such as the adset_id and creative details.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>'
| 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. |