---
title: policy_list
description: List the Policies that apply to an ad account, and to a Line Item of a Campaign Plan.
---

Ask what your organization allows before the agent builds. The agent lists the Policies that apply to one ad account: those of the ad account, of each brand attached to it, and of the Line Item that it builds.

> "Before you build the spring sale campaign, check what our Policies allow on this ad account."

Each Policy has a `pol_…` id, the object that holds it, its kind and its value.

- **The answer is advice.** AdCrunch checks the Policies again when it starts each change, and refuses a change that breaks one with `policy_violation`.
- **The agent cannot change a Policy.** Only a person sets a Policy, in the console.
- **The tool needs the `policy:read` scope.** An external client that connected before this scope existed connects again to get it. The AdCrunch agent in the console gets it with no action.

## Reference

List the Policies that apply to an ad account: the Policies of the Advertiser, of each Brand attached to it and, when you send `line_item_id` with `campaign_plan_name`, of that Line Item. A Policy is a limit that a person of the organization sets in the AdCrunch console, for example the countries that a targeting may name or a budget ceiling. Call it before you create or copy a campaign or an ad set, change a budget or remove the end date of an ad set, and build only what the Policies allow. Before a change to an object that you built from a Line Item, send that Line Item too: its Policies apply to the change. The answer is advice: AdCrunch checks the Policies again when it starts each change, and refuses a change that breaks one with `policy_violation`. No Tool changes a Policy: only a person can, in the console.

### Input

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `advertiser_id` | string | yes | The ad account, from list_advertisers. |
| `campaign_plan_name` | string | no | The Campaign Plan slug of `line_item_id`. Send the two together, or neither. |
| `line_item_id` | string | no | The Line Item that you build, or the Line Item of the object that you change, as line_item_list gives it. The answer then also holds the Policies of this Line Item. Send it with `campaign_plan_name`. |

### Output

A successful call returns this object in `structuredContent`.

| Field | Type | Always present | Description |
| --- | --- | --- | --- |
| `policies` | array of object | yes | Each Policy that applies, in no specific order. |
| `policies[].id` | string | yes | The `pol_…` id of the Policy. |
| `policies[].kind` | one of `allowed_countries`, `allowed_objectives`, `allowed_optimization_goals`, `budget_ceiling`, `budget_period`, `end_date_required` | yes | What the Policy limits. |
| `policies[].scope` | object | yes | The object that holds the Policy. |
| `policies[].scope.campaignPlanId` | string | no | The `cpl_…` id of the Campaign Plan of the Line Item. Only for a `line_item` scope. |
| `policies[].scope.id` | string | yes | The id of the Brand, Advertiser or Line Item. |
| `policies[].scope.type` | one of `advertiser`, `brand`, `line_item` | yes | The kind of object that holds the Policy. |
| `policies[].value` | object | yes | The parameters of the Policy. They depend on `kind`. |
| `policies[].value.amount` | number | no | budget_ceiling: the highest budget, in whole units of `currency`. |
| `policies[].value.countries` | array of string | no | allowed_countries: the ISO 3166-1 alpha-2 codes that a targeting may name. |
| `policies[].value.currency` | string | no | budget_ceiling: the ISO 4217 currency of `amount`. |
| `policies[].value.objectives` | array of string | no | allowed_objectives: the Meta campaign objectives that a campaign may have, for example `OUTCOME_SALES`. |
| `policies[].value.optimizationGoals` | array of string | no | allowed_optimization_goals: the Meta performance goals (`optimization_goal`) that an ad set may have, for example `OFFSITE_CONVERSIONS`. |
| `policies[].value.period` | one of `daily`, `lifetime` | no | budget_ceiling: the kind of budget that the ceiling limits. budget_period: the only kind of budget that is allowed. |

### Failure codes

A failed call has `isError` set, and `structuredContent.error` holds one of these codes. [Errors](/mcp/errors) describes the shape of a failed call.

- `not_found`
- `policy_unavailable`
- `organization_unentitled`
- `forbidden`
- `invalid_request`
- `internal_error`

### Scope

The token must hold `policy:read`. [Auth & scopes](/mcp/auth) lists each scope.

### Annotations

A client reads these hints. A hint that the tool does not declare has the default value of the MCP specification.

- **Read-only.** The tool changes nothing.
- **Closed world.** The tool reads and writes the data of AdCrunch only.

### Example

The arguments:

```json
{
  "advertiser_id": "acc_1485443900032333"
}
```

The result, in `structuredContent`:

```json
{
  "policies": [
    {
      "id": "pol_8k2m4n6p",
      "kind": "allowed_countries",
      "scope": {
        "id": "acc_1485443900032333",
        "type": "advertiser"
      },
      "value": {
        "countries": [
          "FR",
          "BE"
        ]
      }
    }
  ]
}
```
