- [Resource: ProgrammaticBuyer](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.programmaticBuyers#ProgrammaticBuyer)
  - [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.programmaticBuyers#ProgrammaticBuyer.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.programmaticBuyers#METHODS_SUMMARY)

## Resource: ProgrammaticBuyer

Represents a programmatic buyer.

| JSON representation |
|---|
| ``` { "name": string, "buyerAccountId": string, "displayName": string, "parentAccountId": string, "partnerClientId": string, "agency": boolean, "preferredDealsEnabled": boolean, "programmaticGuaranteedEnabled": boolean } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the `ProgrammaticBuyer`. Format: `networks/{networkCode}/programmaticBuyers/{buyerAccountId}` |
| `buyerAccountId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The buyer account ID of the buyer. |
| `displayName` | `string` Output only. The display name of the buyer. |
| `parentAccountId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The ID of the programmatic buyer's sponsor. If the buyer has no sponsor, this field will be -1. |
| `partnerClientId` | `string` Output only. ID of the Display \& Video 360 client buyer partner ID (if Display \& Video 360) or Authorized Buyers client buyer account ID. |
| `agency` | `boolean` Output only. Whether the buyer is an advertising agency. |
| `preferredDealsEnabled` | `boolean` Output only. Whether the buyer is enabled for preferred deals. |
| `programmaticGuaranteedEnabled` | `boolean` Output only. Whether the buyer is enabled for programmatic guaranteed deals. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.programmaticBuyers/get` | Retrieves a `ProgrammaticBuyer` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.programmaticBuyers/list` | Lists `ProgrammaticBuyer` objects. |