---
title: "Apply Action"
method: POST
path: "/api/v1/rules/apply"
tags: ["Budget Rules"]
---

# Apply Action

`POST /api/v1/rules/apply`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/rules/apply`
- Auth: HTTP bearer

Apply a suggested budget action to the ad platform

## Request body

- ApplyActionRequest: Request to apply a suggested action
  - `campaign_id` string, required
  - `platform` string, required
  - `rule_template_id` string, required
  - `new_budget` number, required
  - `reason` string, required
  - `metric_values` object, required
  - `account_id` string, nullable
  - `budget_type` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
