Ads
Update ad
Changed onLive edits to an ad's budget, targeting, or name.
patch/ads/{id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
Ad id.
Request body
object required
Fields to update.
budget, object
{ amount, type } — type is daily or lifetime. Whole currency units, NOT cents: 20 = $20.00. Meta's own Marketing API takes this number in minor units, so it is an easy and expensive mix-up — 2000 here buys $2000.00 of ads, not $20.00.
targeting, object
name, string
Response
Updated ad.
object required
Updated ad.
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
4 more changes in this revision
- warning