v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13285997.9 KB
bidders

Adds targeted publishers to the pretargeting config.

post/v1/{+pretargetingConfig}:addTargetedPublishers

Path parameters

pretargetingConfigstring required

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

Request body

publisherIdsstring[]

A list of publisher IDs to target in the pretargeting configuration. These values will be added to the list of targeted publisher IDs in PretargetingConfig.publisherTargeting.values. Publishers are identified by their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-txt/ and https://iabtechlab.com/app-ads-txt/ for more details.

targetingMode'TARGETING_MODE_UNSPECIFIED' | 'INCLUSIVE' | 'EXCLUSIVE'

Required. The targeting mode that should be applied to the list of publisher IDs. If are existing publisher IDs, must be equal to the existing PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error will be returned.

Response

Successful response