Ads

Update campaign budget / bid strategy (Meta).

patch/ads/campaigns/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

Platform campaign id.

Request body

object required

Fields to update.

platform, string required
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.

bid_strategy, string

Response

Updated campaign.

object required

Updated campaign.

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision