---
title: "Move the Analytics configuration list to the custom parameters"
type: reference
method: POST
path: /rest-api/custom-parameter-policy/adopt-legacy.do
tag: "Custom Parameters"
---

# Move the Analytics configuration list to the custom parameters

`POST https://YOUR-NETWORK-DOMAIN/rest-api/custom-parameter-policy/adopt-legacy.do`

Ends the LEGACY policy, carrying the Analytics configuration custom-parameter list over so the analytics log keeps recording exactly what it did: a keep-only list becomes ONLY_VERIFIED with its names the only recorded parameters; a drop list becomes ANY with its names not recorded; a list that never applied (empty, or the hadoop filter switched off) becomes ANY with its names registered. From then on the conversion parameter log follows the same settings, which the list never touched. Requires the CUSTOM_PARAMETERS admin permission (Admin → Targeting presets → Custom parameters).

## Responses

- `200` — {policy}
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one
- `409` — The policy is no longer LEGACY

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/custom-parameter-policy/adopt-legacy.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/custom-parameters/post-custom-parameter-policy-adopt-legacy