---
title: "POST /v1/{+pretargetingConfig}:addTargetedSites"
method: POST
path: "/v1/{+pretargetingConfig}:addTargetedSites"
tags: ["bidders"]
---

# POST /v1/{+pretargetingConfig}:addTargetedSites

`POST /v1/{+pretargetingConfig}:addTargetedSites`

Adds targeted sites to the pretargeting configuration.

## Path parameters

- `pretargetingConfig` string, required

## Request body

- AddTargetedSitesRequest — A request to start targeting the provided sites in a specific pretargeting configuration. The pretargeting configuration itself specifies how these sites are targeted in PretargetingConfig.webTargeting.
  - `sites` string[] — A list of site URLs to target in the pretargeting configuration. These values will be added to the list of targeted URLs in PretargetingConfig.webTargeting.values.
  - `targetingMode` 'TARGETING_MODE_UNSPECIFIED' | 'INCLUSIVE' | 'EXCLUSIVE' — Required. The targeting mode that should be applied to the list of site URLs. If there are existing targeted sites, must be equal to the existing PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will be returned.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/realtimebidding.md) · [All operations](https://skmtc.net/google/apis/realtimebidding/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/realtimebidding/versions/da99d215fb25/schema)
