Save an ad
save_adSaves an ad to the user's saved ads (swipe file), optionally into a collection and with a note, and returns the saved entry. Works for ads in this account and public Ad Library ads. Saving an ad that is already saved changes only the collection or note that is supplied and creates no duplicate; it cannot unsort an ad, which move_saved_ad does with collection_id null. list_saved_ads reads saved ads back.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad_id": "<ad_id>"
},
"name": "save_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | Yes | Ad id from a search or list result, or from get_ad. | |
| notes | No | Optional note about why the ad was saved, up to 2,000 characters. Absent or blank keeps the note an already-saved ad has. | |
| collection_id | No | Optional collection id from list_collections. Absent saves a new ad as unsorted and leaves an already-saved ad in the collection it is in; move_saved_ad with collection_id null unsorts it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savedAd | No | The saved-ad pointer and available evidence after this change. | |
| operation | No | Whether the saved-ad change inserted, updated or preserved the existing item. |