---
updatedAt: 2026-05-29T12:25:24.000Z
agentTools:
  projectIndex: https://dev.kevel.com/llms.txt
---

# Delete targeting set

Delete a Targeting Set in a Yield Forecast Ad Product.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Forecast API",
    "description": "The Kevel Forecast API",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.kevel.co/v1"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/forecaster/ad-products/{adProductId}/targeting-sets/{targetingSetId}": {
      "parameters": [
        {
          "name": "adProductId",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        },
        {
          "name": "targetingSetId",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "delete": {
        "summary": "Delete targeting set",
        "description": "Delete a Targeting Set in a Yield Forecast Ad Product.",
        "tags": [
          "Yield Forecast"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Adzerk-ApiKey"
      }
    },
    "responses": {
      "Ok": {
        "description": "Operation was successful.",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string"
            },
            "example": "OK"
          }
        }
      },
      "NotFound": {
        "description": "The entity doesn't exist.",
        "content": {
          "text/plain": {
            "schema": {
              "type": "string"
            },
            "example": "Traffic modifier with ID 123 doesn't exist"
          }
        }
      }
    }
  }
}
```