Method: accounts.publisherProfiles.list

  • This page describes how to list all publisher profiles visible to the buyer.

  • The request uses a GET HTTP method to the specified URL which includes the buyer's account ID as a path parameter.

  • Optional query parameters are available to control pagination of the results.

  • The request body must be empty.

  • The response body includes a list of publisher profiles and a next page token for pagination, requiring the https://www.googleapis.com/auth/adexchange.buyer OAuth scope for authorization.

List all publisher profiles visible to the buyer

HTTP request

GET https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/publisherProfiles

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string

Account ID of the buyer.

Query parameters

Parameters
pageSize

integer

Specify the number of results to include per page.

pageToken

string

The page token as return from ListPublisherProfilesResponse.

Request body

The request body must be empty.

Response body

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

Response message for profiles visible to the buyer.

JSON representation
{
  "publisherProfiles": [
    {
      object (PublisherProfile)
    }
  ],
  "nextPageToken": string
}
Fields
publisherProfiles[]

object (PublisherProfile)

The list of matching publisher profiles.

nextPageToken

string

List pagination support

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adexchange.buyer