# REST Resource: accounts.products

- [Resource: Product](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/accounts.products#Product)
  - [JSON representation](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/accounts.products#Product.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/accounts.products#METHODS_SUMMARY)

## Resource: Product

A product is a segment of inventory that a seller wants to sell. It is associated with certain terms and targeting information which helps the buyer know more about the inventory.

| JSON representation ||
|---|---|
| ``` { "productId": string, "createTime": string, "updateTime": string, "seller": { object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/Seller`) }, "publisherProfileId": string, "displayName": string, "terms": { object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/DealTerms`) }, "creatorContacts": [ { object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/ContactInformation`) } ], "availableStartTime": string, "availableEndTime": string, "hasCreatorSignedOff": boolean, "targetingCriterion": [ { object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/TargetingCriteria`) } ], "webPropertyCode": string, "productRevision": string, "syndicationProduct": enum (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/SyndicationProduct`) } ``` |

| Fields ||
|---|---|
| `productId` | `string` The unique ID for the product. |
| `createTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Creation time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `updateTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Time of last update. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `seller` | ``object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/Seller`)`` Information about the seller that created this product. |
| `publisherProfileId` | `string` An ID which can be used by the Publisher Profile API to get more information about the seller that created this product. |
| `displayName` | `string` The display name for this product as set by the seller. |
| `terms` | ``object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/DealTerms`)`` The negotiable terms of the deal. |
| `creatorContacts[]` | ``object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/ContactInformation`)`` Optional contact information for the creator of this product. |
| `availableStartTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Inventory availability dates. The start time will be truncated to seconds during serving. Thus, a field specified as 3:23:34.456 (HH:mm:ss.SSS) will be truncated to 3:23:34 when serving. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `availableEndTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` The proposed end time for the deal. The field will be truncated to the order of seconds during serving. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `hasCreatorSignedOff` | `boolean` If the creator has already signed off on the product, then the buyer can finalize the deal by accepting the product as is. When copying to a proposal, if any of the terms are changed, then auto_finalize is automatically set to false. |
| `targetingCriterion[]` | ``object (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/TargetingCriteria`)`` Targeting that is shared between the buyer and the seller. Each targeting criterion has a specified key and for each key there is a list of inclusion value or exclusion values. |
| `webPropertyCode` | `string` The web-property code for the seller. This needs to be copied as is when adding a new deal to a proposal. |
| `productRevision` | `string (https://developers.google.com/discovery/v1/type-format format)` The revision number of the product (auto-assigned by Marketplace). |
| `syndicationProduct` | ``enum (`https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/SyndicationProduct`)`` The syndication product associated with the deal. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/accounts.products/get` | Gets the requested product by ID. |
| ### `https://developers.google.com/authorized-buyers/apis/reference/rest/v2beta1/accounts.products/list` | List all products visible to the buyer (optionally filtered by the specified PQL query). |