Method: bidders.publisherConnections.batchApprove

Batch approves multiple publisher connections.

HTTP request

POST https://realtimebidding.googleapis.com/v1/{parent=bidders/*}/publisherConnections:batchApprove

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The bidder for whom publisher connections will be approved. 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 which connections will be approved. 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 approve a batch of publisher connections.

If successful, the response body contains data with the following structure:

JSON representation
{
  "publisherConnections": [
    {
      object (PublisherConnection)
    }
  ]
}
Fields
publisherConnections[]

object (PublisherConnection)

The publisher connections that have been approved.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/realtime-bidding