Probably
Docs

Change a campaign ad

change_campaign_ad, in Changes: A connection or key that may make changes. None spends credits; prepare_* and stage tools (research, brainstorm, write_script, review, generate_clip, voice, storyboard) prepare paid work for confirm_spend.

POST
/api/v1/tools/change_campaign_ad

Change one ad of a batch still being planned: write its opening in another hook formula, or as your own line with its hook kind; change its lead; or remove it from the batch (removed: false puts it back). A made batch's ads don't change.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (prb_…) from Settings → Connections.

Request Body

application/json
  1. body
adId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
change*|||

Response Body

The tool's answer.

application/json
  1. response
adId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
curl -X POST 'https://studio.probably.co/api/v1/tools/change_campaign_ad' \  -H "Authorization: Bearer $PROBABLY_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "adId": "4d241bcb-6046-42ff-be75-7b01bde3898e",  "change": {    "kind": "formula",    "formula": "Call out the viewer"  }}'
{  "adId": "4d241bcb-6046-42ff-be75-7b01bde3898e"}