class BiddersPublisherConnections extends Resource (View source)

The "publisherConnections" collection of methods.

Typical usage is:

 $realtimebiddingService = new Google\Service\RealTimeBidding(...);
 $publisherConnections = $realtimebiddingService->bidders_publisherConnections;

Methods

batchApprove(string $parent, BatchApprovePublisherConnectionsRequest $postBody, array $optParams = [])

Batch approves multiple publisher connections.

batchReject(string $parent, BatchRejectPublisherConnectionsRequest $postBody, array $optParams = [])

Batch rejects multiple publisher connections.

get(string $name, array $optParams = [])

Gets a publisher connection. (publisherConnections.get)

listBiddersPublisherConnections(string $parent, array $optParams = [])

Lists publisher connections for a given bidder.

Details

BatchApprovePublisherConnectionsResponse batchApprove(string $parent, BatchApprovePublisherConnectionsRequest $postBody, array $optParams = [])

Batch approves multiple publisher connections.

(publisherConnections.batchApprove)

Parameters

string $parent

Required. The bidder for whom publisher connections will be approved. Format: bidders/{bidder} where {bidder} is the account ID of the bidder.

BatchApprovePublisherConnectionsRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchApprovePublisherConnectionsResponse

Exceptions

Exception

BatchRejectPublisherConnectionsResponse batchReject(string $parent, BatchRejectPublisherConnectionsRequest $postBody, array $optParams = [])

Batch rejects multiple publisher connections.

(publisherConnections.batchReject)

Parameters

string $parent

Required. The bidder for whom publisher connections will be rejected. Format: bidders/{bidder} where {bidder} is the account ID of the bidder.

BatchRejectPublisherConnectionsRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchRejectPublisherConnectionsResponse

Exceptions

Exception

PublisherConnection get(string $name, array $optParams = [])

Gets a publisher connection. (publisherConnections.get)

Parameters

string $name

Required. Name of the publisher whose connection information is to be retrieved. 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. See publisherConnection.name.

array $optParams

Optional parameters.

Return Value

PublisherConnection

Exceptions

Exception

ListPublisherConnectionsResponse listBiddersPublisherConnections(string $parent, array $optParams = [])

Lists publisher connections for a given bidder.

(publisherConnections.listBiddersPublisherConnections)

Parameters

string $parent

Required. Name of the bidder for which publishers have initiated connections. The pattern for this resource is bidders/{bidder} where {bidder} represents the account ID of the bidder.

array $optParams

Optional parameters.

Return Value

ListPublisherConnectionsResponse

Exceptions

Exception