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/v24.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 |
|---|---|
| The ID of the ad set under which the ad will run. |
| Contains the creative ID for the ad. |
| Set to |