Page Summary
-
The
sellers.products.listmethod lists products associated with a specific seller. -
The request uses an HTTP GET method with the parent seller specified in the path.
-
Query parameters can be used to control the number of results, pagination, filtering, ordering, and whether to show deleted products.
-
A successful response returns a list of products and a token for retrieving the next page of results.
-
Errors like
PERMISSION_DENIEDorINVALID_ARGUMENTmay be returned based on user access or invalid input parameters.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Examples
Lists products.
- For example GET /v1/sellers/111/products
- Returns a list of products and a token to retrieve the next page if successful.
- Returns error code
PERMISSION_DENIEDif the user does not have access to the seller or seller id does not exist. - Returns error code
INVALID_ARGUMENTif sellers provide an invalid page size or page token.
HTTP request
GET https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/products
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The seller, which owns this collection of products. Format: sellers/{seller} |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of items to return. The service may return fewer than this value. Max allowed number of products is 1000; values above 1000 will be changed to 1000. If unspecified, at most 1000 products will be returned. |
pageToken |
The nextPageToken value returned from a previous List request, if any. |
filter |
The list filter. Currently supports external ID, with the syntax: "externalId = [EXTERNAL_ID]". The logical operators AND and OR can be used to chain filters. |
orderBy |
The order by string used to specify the sort order of the results. Currently supports ordering by |
showDeleted |
Whether to return soft-deleted products. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for InventoryService.ListProducts.
| JSON representation |
|---|
{
"products": [
{
object ( |
| Fields | |
|---|---|
products[] |
The list of products. |
nextPageToken |
A token to retrieve the next page of results. Pass this value in the |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.