---
title: "POST /v1/bidders/{biddersId}/publisherConnections:batchReject"
method: POST
path: "/v1/bidders/{biddersId}/publisherConnections:batchReject"
tags: ["bidders"]
---

# POST /v1/bidders/{biddersId}/publisherConnections:batchReject

`POST /v1/bidders/{biddersId}/publisherConnections:batchReject`

## Request

- Base URL: `https://realtimebidding.googleapis.com`
- URL: `https://realtimebidding.googleapis.com/v1/bidders/{biddersId}/publisherConnections:batchReject`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/realtime-bidding`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/realtime-bidding`
- TypeScript: <https://skmtc.dev/google/apis/realtimebidding/docs/v1/bidders/:biddersId/publisherConnections:batchReject/post.ts> (a function with typed inputs; its response is checked against the schema)

Batch rejects multiple publisher connections.

## Path parameters

- `biddersId` string, required

## Request body

- BatchRejectPublisherConnectionsRequest: A request to reject a batch of publisher connections.
  - `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 `200`

Successful response

- BatchRejectPublisherConnectionsResponse: A response for the request to reject a batch of publisher connections.
  - `publisherConnections` PublisherConnection[]: The publisher connections that have been rejected.
    - `biddingState` 'STATE_UNSPECIFIED' | 'PENDING' | 'REJECTED' | 'APPROVED': Whether the publisher has been approved by the bidder.
    - `createTime` string, google-datetime: Output only. The time at which the publisher initiated a connection with the bidder (irrespective of if or when the bidder approves it). This is subsequently updated if the publisher revokes and re-initiates the connection.
    - `displayName` string: Output only. Publisher display name.
    - `name` string: Output only. Name of the publisher connection. This follows the pattern `bidders/{bidder}/publisherConnections/{publisher}`, where `{bidder}` represents the account ID of the bidder, and `{publisher}` is the ads.txt/app-ads.txt publisher ID.
    - `publisherPlatform` 'PUBLISHER_PLATFORM_UNSPECIFIED' | 'GOOGLE_AD_MANAGER' | 'ADMOB': Output only. Whether the publisher is an Ad Manager or AdMob publisher.

---

[API](https://skmtc.dev/google/apis/realtimebidding.md) - [All operations](https://skmtc.dev/google/apis/realtimebidding/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/realtimebidding/revisions/a3d0cf023b56?raw)
