v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
Ad Campaigns

Cancel an ad

Cancels the ad on the platform and marks it as cancelled in the database. The ad is preserved for history. OpenAI Ads has no delete API; the ad is archived instead (a terminal state, the closest equivalent).

delete/v1/ads/{adId}

Path parameters

adIdstring required

Response

Ad cancelled

messagestring