Adds targeted sites to the pretargeting configuration.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{pretargetingConfig=bidders/*/pretargetingConfigs/*}:addTargetedSites
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
pretargetingConfig |
Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"sites": [
string
],
"targetingMode": enum ( |
| Fields | |
|---|---|
sites[] |
A list of site URLs to target in the pretargeting configuration. These values will be added to the list of targeted URLs in |
targetingMode |
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 |
Response body
If successful, the response body contains an instance of PretargetingConfig.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/realtime-bidding