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

# Patch ad product

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

## Request

- Base URL: `https://api.kevel.co/v1`
- URL: `https://api.kevel.co/v1/forecaster/ad-products/{adProductId}`
- Auth: API key in header `X-Adzerk-ApiKey`

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/forecast-api.md) - [All operations](https://skmtc.dev/kevel/apis/forecast-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kevel/apis/forecast-api/revisions/f07c8784a32d?raw)
