Rivier/ Reference/ workspace

Set what the project means to spend on one ad platform in one month

put/marketing/budgets

Set what the project means to spend on one ad platform in one month. The amount is in whole currency units. It only sets the line the pacing check measures against; it never changes anything on the platform.

Before you call

Credential
Authorization: Bearer $KEY
Scope
workspace:write
Mcp
rivier_marketing_set_budget
Graphql
Mutation.workspaceMarketingBudget
Sdk
workspace.marketing.budget
Cli
workspace marketing budget

Request bodyapplication/json, required

  • platformstringrequired
    At most 40 characters.
  • monthstringrequired
    Pattern: ^\d{4}-(0[1-9]|1[0-2])$.
  • amountnumberrequired
    At least 0. At most 100000000.
  • currencystringrequired
    Pattern: ^[A-Z]{3}$.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown