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

# Update ad product

`PUT /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 a Yield Forecast Ad Product.
The defined targeting sets will be updated or created. Targeting sets not present will remain unchanged.

## Request body

- Schema (unresolved $ref)

## Response `200`

Normal response, containing the 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)
