bidders

Adds targeted sites to the pretargeting configuration.

post/v1/{+pretargetingConfig}:addTargetedSites

Path parameters

pretargetingConfigstring required

Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId}

Request body

sitesstring[]

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

Successful response

Changes

No recorded changes to this endpoint across all 1 revision of this API.