Method: bidders.publisherConnections.batchReject
Stay organized with collections
Save and categorize content based on your preferences.
Batch rejects multiple publisher connections.
HTTP request
POST https://realtimebidding.googleapis.com/v1/{parent=bidders/*}/publisherConnections:batchReject
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The bidder for whom publisher connections will be rejected. Format: bidders/{bidder} where {bidder} is the account ID of the bidder.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"names": [
string
]
} |
Fields |
names[] |
string
Required. The names of the publishers with whom connection will be rejected. In the pattern bidders/{bidder}/publisherConnections/{publisher} where {bidder} is the account ID of the bidder, and {publisher} is the ads.txt/app-ads.txt publisher ID.
|
Response body
A response for the request to reject a batch of publisher connections.
If successful, the response body contains data with the following structure:
Fields |
publisherConnections[] |
object (PublisherConnection )
The publisher connections that have been rejected.
|
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."],[[["\u003cp\u003eBatch rejects multiple publisher connections for a specified bidder using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires a list of publisher names to reject connections for.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a list of the publisher connections that were rejected.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/realtime-bidding\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: bidders.publisherConnections.batchReject\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchRejectPublisherConnectionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBatch rejects multiple publisher connections.\n\n### HTTP request\n\n`POST https://realtimebidding.googleapis.com/v1/{parent=bidders/*}/publisherConnections:batchReject`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The bidder for whom publisher connections will be rejected. Format: `bidders/{bidder}` where `{bidder}` is the account ID of the bidder. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"names\": [ string ] } ``` |\n\n| Fields ||\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `names[]` | `string` Required. The names of the publishers with whom connection will be rejected. In the pattern `bidders/{bidder}/publisherConnections/{publisher}` where `{bidder}` is the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID. |\n\n### Response body\n\nA response for the request to reject a batch of publisher connections.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"publisherConnections\": [ { object (/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.publisherConnections#PublisherConnection) } ] } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `publisherConnections[]` | `object (`[PublisherConnection](/authorized-buyers/apis/realtimebidding/reference/rest/v1/bidders.publisherConnections#PublisherConnection)`)` The publisher connections that have been rejected. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/realtime-bidding`"]]