curl \ -H "Authorization: Bearer API_KEY" \ -X PUT https://api.ayrshare.com/api/ads/facebook/ads -d '{"adId": 1234567890, "status": "active"}'
{ "status": "success", "adId": "6691084804905", "requestedStatus": "ACTIVE" }
Update an Ad
Documentation IndexFetch the complete documentation index at: https://ayrshare.mintlify.app/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://ayrshare.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer API_KEY
Profile-Key: PROFILE_KEY
active
paused
deleted
archived