POST /ads/ads
Create an ad from an ad set and a creative. PAUSED by default; requires confirm: true
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
application/json- body
accountId*stringConnected Facebook Page account id
adAccountId*stringAd account id (act_...)
confirm*booleanRequired (true) for anything that can spend: creates (campaign, ad set, ad, boost), status ACTIVE, budget, bid, schedule or targeting changes. Without it: 400 confirmation_required, nothing is created
name*stringadSetId*stringcreativeId*stringstatus?stringPAUSED (default) or ACTIVE (only together with confirm: true)
Value in
"PAUSED""ACTIVE"{ad, mock}
application/json- response
ad?mock?booleancurl -X POST 'https://example.com/api/v1/ads/ads' \ -H 'Content-Type: application/json' \ -d '{ "accountId": "string", "adAccountId": "string", "confirm": true, "name": "string", "adSetId": "string", "creativeId": "string"}'Example Response
{ "ad": {}, "mock": true}