metaAds.deleteCreative deletes an unused ad creative.
automations/meta-ads-delete-creative.automation.ts
{ account } selects a static project account binding.
Returns Meta’s mutation result. Deletion is not replay-safe.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Deletes an unused ad creative.
metaAds.deleteCreative deletes an unused ad creative.
import { automation, onDashboardRun } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"
export default automation("Delete creative", () => {
onDashboardRun({ title: "Delete creative" })
const result = metaAds.deleteCreative({ id: "creative-id" })
// Use result in the next advertising, reporting, or delivery operation.
})
{ account } selects a static project account binding.
Returns Meta’s mutation result. Deletion is not replay-safe.