---
title: "Patch ad product"
method: PATCH
path: "/forecaster/ad-products/{adProductId}"
tags: ["Yield Forecast"]
---

# Patch ad product

`PATCH /forecaster/ad-products/{adProductId}`

Update one or more fields of a Yield Forecast Ad Product.

## Request body

- object — An ad product is a campaign template. It aggregates targeting sets (flight templates) for which a forecast is run.
  - `name` string — Name of the ad product.
  - `description` string, nullable — An optional description of the ad product.
  - `enabled` boolean — Whether the ad product is enabled. Only enabled ad products are considered when calculating results.

## Response `200`

Normal response, containing the full updated JSON object with the ad product, if successful.

- Schema — unresolved $ref

## Other responses

- `400` — The entity in the body is invalid.
- `404` — The entity doesn't exist.

---

[API](https://skmtc.dev/kevel/apis/engine-apis.md) · [All operations](https://skmtc.dev/kevel/apis/engine-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kevel/engine-apis/revisions/0ca55f45aa7d/schema)
