Method: bidders.pretargetingConfigs.removeTargetedPublishers
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
This method removes targeted publishers from a pretargeting configuration.
The HTTP request uses a POST method with a URL specifying the pretargeting config name.
A path parameter pretargetingConfig is required to identify the configuration.
The request body contains a list of publisherIds to be removed from targeting.
A successful response returns an instance of PretargetingConfig.
Removes targeted publishers from the pretargeting config.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{pretargetingConfig=bidders/*/pretargetingConfigs/*}:removeTargetedPublishers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
pretargetingConfig
string
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
{
"publisherIds" : [
string
]
}
Fields
publisherIds[]
string
A list of publisher IDs to stop targeting in the pretargeting configuration. These values will be removed from 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.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[null,null,["Last updated 2025-05-07 UTC."],[],[]]