Method: accounts.products.list

List all products visible to the buyer (optionally filtered by the specified PQL query).

HTTP request

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

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
accountId

string

Account ID of the buyer.

Query parameters

Parameters
filter

string

An optional PQL query used to query for products.

pageSize

number

Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default.

pageToken

string

The page token as returned from ListProductsResponse.

Request body

The request body must be empty.

Response body

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

Response message for listing products visible to the buyer.

JSON representation
{
  "products": [
    {
      object(Product)
    }
  ],
  "nextPageToken": string,
}
Fields
products[]

object(Product)

The list of matching products at their head revision number.

nextPageToken

string

List pagination support.

Authorization

Requires the following OAuth scope:

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

Try it!

Send feedback about...

Buyer REST API
Buyer REST API