> [!WARNING]
> Display \& Video 360 API v5 is currently in beta.

- [Resource: InventorySource](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource)
  - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.SCHEMA_REPRESENTATION)
  - [InventorySourceType](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceType)
  - [InventorySourceProductType](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceProductType)
  - [InventorySourceCommitment](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceCommitment)
  - [InventorySourceDeliveryMethod](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDeliveryMethod)
  - [InventorySourceStatus](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus.SCHEMA_REPRESENTATION)
  - [InventorySourceConfigStatus](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceConfigStatus)
  - [RateDetails](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.RateDetails)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.RateDetails.SCHEMA_REPRESENTATION)
  - [InventorySourceRateType](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceRateType)
  - [Money](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money.SCHEMA_REPRESENTATION)
  - [TimeRange](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.TimeRange)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.TimeRange.SCHEMA_REPRESENTATION)
  - [CreativeConfig](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig.SCHEMA_REPRESENTATION)
  - [InventorySourceDisplayCreativeConfig](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDisplayCreativeConfig)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDisplayCreativeConfig.SCHEMA_REPRESENTATION)
  - [InventorySourceVideoCreativeConfig](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceVideoCreativeConfig)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceVideoCreativeConfig.SCHEMA_REPRESENTATION)
  - [InventorySourceAccessors](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceAccessors)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceAccessors.SCHEMA_REPRESENTATION)
  - [PartnerAccessor](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.PartnerAccessor)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.PartnerAccessor.SCHEMA_REPRESENTATION)
  - [AdvertiserAccessors](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.AdvertiserAccessors)
    - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.AdvertiserAccessors.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#METHODS_SUMMARY)

## Resource: InventorySource

An inventory source.

| JSON representation |
|---|
| ``` { "name": string, "inventorySourceId": string, "displayName": string, "inventorySourceType": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceType`), "inventorySourceProductType": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceProductType`), "commitment": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceCommitment`), "deliveryMethod": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDeliveryMethod`), "dealId": string, "status": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus`) }, "exchange": enum (`https://developers.google.com/display-video/api/reference/rest/v5/Exchange`), "updateTime": string, "rateDetails": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.RateDetails`) }, "publisherName": string, "timeRange": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.TimeRange`) }, "creativeConfigs": [ { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig`) } ], "guaranteedOrderId": string, "readWriteAccessors": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceAccessors`) }, "readAdvertiserIds": [ string ], "readPartnerIds": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the inventory source. |
| `inventorySourceId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The unique ID of the inventory source. Assigned by the system. |
| `displayName` | `string` The display name of the inventory source. Must be UTF-8 encoded with a maximum size of 240 bytes. |
| `inventorySourceType` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceType`)`` Denotes the type of the inventory source. |
| `inventorySourceProductType` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceProductType`)`` Output only. The product type of the inventory source, denoting the way through which it sells inventory. |
| `commitment` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceCommitment`)`` Whether the inventory source has a guaranteed or non-guaranteed delivery. |
| `deliveryMethod` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDeliveryMethod`)`` The delivery method of the inventory source. - For non-guaranteed inventory sources, the only acceptable value is `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. - For guaranteed inventory sources, acceptable values are `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` and `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC`. |
| `dealId` | `string` The ID in the exchange space that uniquely identifies the inventory source. Must be unique across buyers within each exchange but not necessarily unique across exchanges. |
| `status` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus`)`` The status settings of the inventory source. |
| `exchange` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/Exchange`)`` The exchange to which the inventory source belongs. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp when the inventory source was last updated. Assigned by the system. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `rateDetails` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.RateDetails`)`` Required. The rate details of the inventory source. |
| `publisherName` | `string` The publisher/seller name of the inventory source. |
| `timeRange` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.TimeRange`)`` The time range when this inventory source starts and stops serving. |
| `creativeConfigs[]` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig`)`` The creative requirements of the inventory source. Not applicable for auction packages. |
| `guaranteedOrderId` | `string` Immutable. The ID of the guaranteed order that this inventory source belongs to. Only applicable when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.FIELDS.commitment` is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`. |
| `readWriteAccessors` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceAccessors`)`` The partner or advertisers that have read/write access to the inventory source. Output only when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.FIELDS.commitment` is `INVENTORY_SOURCE_COMMITMENT_GUARANTEED`, in which case the read/write accessors are inherited from the parent guaranteed order. Required when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.FIELDS.commitment` is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED`. If `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.FIELDS.commitment` is `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` and a partner is set in this field, all advertisers under this partner will automatically have read-only access to the inventory source. These advertisers will not be included in `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.FIELDS.read_advertiser_ids`. |
| `readAdvertiserIds[]` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The IDs of advertisers with read-only access to the inventory source. |
| `readPartnerIds[]` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The IDs of partners with read-only access to the inventory source. All advertisers of partners in this field inherit read-only access to the inventory source. |

### InventorySourceType

Possible inventory source types.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_TYPE_UNSPECIFIED` | The inventory source type is not specified or is unknown in this version. |
| `INVENTORY_SOURCE_TYPE_PRIVATE` | Private inventory source. |
| `INVENTORY_SOURCE_TYPE_AUCTION_PACKAGE` | Auction package. |

### InventorySourceProductType

Possible product types of an inventory source.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_PRODUCT_TYPE_UNSPECIFIED` | The product type is not specified or is unknown in this version. Modifying inventory sources of this product type are not supported via API. |
| `PREFERRED_DEAL` | The inventory source sells inventory through Preferred Deal. |
| `PRIVATE_AUCTION` | The inventory source sells inventory through Private Auction. |
| `PROGRAMMATIC_GUARANTEED` | The inventory source sells inventory through Programmatic Guaranteed. |
| `TAG_GUARANTEED` | The inventory source sells inventory through Tag Guaranteed. |
| `YOUTUBE_RESERVE` | The inventory source sells inventory through YouTube Reserve. |
| `INSTANT_RESERVE` | The inventory source sells inventory through Instant Reserve. Modifying inventory sources of this product type are not supported via API. |
| `GUARANTEED_PACKAGE` | The inventory source sells inventory through Guaranteed Package. Modifying inventory sources of this product type are not supported via API. |
| `PROGRAMMATIC_TV` | The inventory source sells inventory through Programmtic TV. Modifying inventory sources of this product type are not supported via API. |
| `AUCTION_PACKAGE` | The inventory source sells inventory through Auction Package. Modifying inventory sources of this product type are not supported via API. |

### InventorySourceCommitment

Possible commitment types for an inventory source.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_COMMITMENT_UNSPECIFIED` | The commitment is not specified or is unknown in this version. |
| `INVENTORY_SOURCE_COMMITMENT_GUARANTEED` | The commitment is guaranteed delivery. |
| `INVENTORY_SOURCE_COMMITMENT_NON_GUARANTEED` | The commitment is non-guaranteed delivery. |

### InventorySourceDeliveryMethod

Possible delivery methods for an inventory source.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_DELIVERY_METHOD_UNSPECIFIED` | The delivery method is not specified or is unknown in this version. |
| `INVENTORY_SOURCE_DELIVERY_METHOD_PROGRAMMATIC` | The delivery method is programmatic. |
| `INVENTORY_SOURCE_DELIVERY_METHOD_TAG` | The delivery method is tag. |

### InventorySourceStatus

The status related settings of the inventory source.

| JSON representation |
|---|
| ``` { "entityStatus": enum (`https://developers.google.com/display-video/api/reference/rest/v5/EntityStatus`), "entityPauseReason": string, "sellerStatus": enum (`https://developers.google.com/display-video/api/reference/rest/v5/EntityStatus`), "sellerPauseReason": string, "configStatus": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceConfigStatus`) } ``` |

| Fields ||
|---|---|
| `entityStatus` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/EntityStatus`)`` Whether or not the inventory source is servable. Acceptable values are `ENTITY_STATUS_ACTIVE`, `ENTITY_STATUS_ARCHIVED`, and `ENTITY_STATUS_PAUSED`. Default value is `ENTITY_STATUS_ACTIVE`. |
| `entityPauseReason` | `string` The user-provided reason for pausing this inventory source. Must not exceed 100 characters. Only applicable when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus.FIELDS.entity_status` is set to `ENTITY_STATUS_PAUSED`. |
| `sellerStatus` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/EntityStatus`)`` Output only. The status set by the seller for the inventory source. Only applicable for inventory sources synced directly from the publishers. Acceptable values are `ENTITY_STATUS_ACTIVE` and `ENTITY_STATUS_PAUSED`. |
| `sellerPauseReason` | `string` Output only. The seller-provided reason for pausing this inventory source. Only applicable for inventory sources synced directly from the publishers and when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceStatus.FIELDS.seller_status` is set to `ENTITY_STATUS_PAUSED`. |
| `configStatus` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceConfigStatus`)`` Output only. The configuration status of the inventory source. Only applicable for guaranteed inventory sources. Acceptable values are `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` and `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED`. An inventory source must be configured (fill in the required fields, choose creatives, and select a default campaign) before it can serve. |

### InventorySourceConfigStatus

Possible configuration states for a guaranteed inventory source.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_CONFIG_STATUS_UNSPECIFIED` | The approval status is not specified or is unknown in this version. |
| `INVENTORY_SOURCE_CONFIG_STATUS_PENDING` | The beginning state of a guaranteed inventory source. The inventory source in this state needs to be configured. |
| `INVENTORY_SOURCE_CONFIG_STATUS_COMPLETED` | The state after the buyer configures a guaranteed inventory source. |

### RateDetails

The rate related settings of the inventory source.

| JSON representation |
|---|
| ``` { "inventorySourceRateType": enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceRateType`), "rate": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money`) }, "unitsPurchased": string, "minimumSpend": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money`) } } ``` |

| Fields ||
|---|---|
| `inventorySourceRateType` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceRateType`)`` The rate type. Acceptable values are `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED`, `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR`, and `INVENTORY_SOURCE_RATE_TYPE_CPD`. |
| `rate` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money`)`` The rate for the inventory source. |
| `unitsPurchased` | `string (https://developers.google.com/discovery/v1/type-format format)` Required for guaranteed inventory sources. The number of impressions guaranteed by the seller. |
| `minimumSpend` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.Money`)`` Output only. The amount that the buyer has committed to spending on the inventory source up front. Only applicable for guaranteed inventory sources. |

### InventorySourceRateType

Possible rate types for an inventory source.

| Enums ||
|---|---|
| `INVENTORY_SOURCE_RATE_TYPE_UNSPECIFIED` | The rate type is not specified or is unknown in this version. |
| `INVENTORY_SOURCE_RATE_TYPE_CPM_FIXED` | The rate type is CPM (Fixed). |
| `INVENTORY_SOURCE_RATE_TYPE_CPM_FLOOR` | The rate type is CPM (Floor). |
| `INVENTORY_SOURCE_RATE_TYPE_CPD` | The rate type is Cost per Day. |
| `INVENTORY_SOURCE_RATE_TYPE_CPH` | The rate type is Cost per Hour. |
| `INVENTORY_SOURCE_RATE_TYPE_FLAT` | The rate type is Flat. |

### Money

Represents an amount of money with its currency type.

| JSON representation |
|---|
| ``` { "currencyCode": string, "units": string, "nanos": integer } ``` |

| Fields ||
|---|---|
| `currencyCode` | `string` The three-letter currency code defined in ISO 4217. |
| `units` | `string (https://developers.google.com/discovery/v1/type-format format)` The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. |
| `nanos` | `integer` Number of nano (10\^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. |

### TimeRange

A time range.

| JSON representation |
|---|
| ``` { "startTime": string, "endTime": string } ``` |

| Fields ||
|---|---|
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Required. The lower bound of a time range, inclusive. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Required. The upper bound of a time range, inclusive. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

### CreativeConfig

Creative requirements configuration for the inventory source.

| JSON representation |
|---|
| ``` { "creativeType": enum (`https://developers.google.com/display-video/api/reference/rest/v5/CreativeType`), // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "displayCreativeConfig": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDisplayCreativeConfig`) }, "videoCreativeConfig": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceVideoCreativeConfig`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `creativeType` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v5/CreativeType`)`` The type of creative that can be assigned to the inventory source. Only the following types are supported: - `CREATIVE_TYPE_STANDARD` - `CREATIVE_TYPE_VIDEO` |
| Applicable when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig.FIELDS.creative_type` is one of: - `CREATIVE_TYPE_STANDARD` - `CREATIVE_TYPE_VIDEO` The configuration for the creatives that can be assigned to the inventory source. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `displayCreativeConfig` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceDisplayCreativeConfig`)`` The configuration for display creatives. Applicable when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig.FIELDS.creative_type` is `CREATIVE_TYPE_STANDARD`. |
| `videoCreativeConfig` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.InventorySourceVideoCreativeConfig`)`` The configuration for video creatives. Applicable when `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.CreativeConfig.FIELDS.creative_type` is `CREATIVE_TYPE_VIDEO`. |
| End of mutually exclusive fields. ||

### InventorySourceDisplayCreativeConfig

The configuration for display creatives.

| JSON representation |
|---|
| ``` { "creativeSize": { object (`https://developers.google.com/display-video/api/reference/rest/v5/Dimensions`) } } ``` |

| Fields ||
|---|---|
| `creativeSize` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/Dimensions`)`` The size requirements for display creatives that can be assigned to the inventory source. |

### InventorySourceVideoCreativeConfig

The configuration for video creatives.

| JSON representation |
|---|
| ``` { "duration": string } ``` |

| Fields ||
|---|---|
| `duration` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` The duration requirements for the video creatives that can be assigned to the inventory source. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |

### InventorySourceAccessors

The partner or advertisers with access to the inventory source.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "partner": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.PartnerAccessor`) }, "advertisers": { object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.AdvertiserAccessors`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The partner or advertisers with access to the inventory source. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `partner` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.PartnerAccessor`)`` The partner with access to the inventory source. |
| `advertisers` | ``object (`https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources#InventorySource.AdvertiserAccessors`)`` The advertisers with access to the inventory source. All advertisers must belong to the same partner. |
| End of mutually exclusive fields. ||

### PartnerAccessor

The partner with access to the inventory source.

| JSON representation |
|---|
| ``` { "partnerId": string } ``` |

| Fields ||
|---|---|
| `partnerId` | `string (https://developers.google.com/discovery/v1/type-format format)` The ID of the partner. |

### AdvertiserAccessors

The advertisers with access to the inventory source.

| JSON representation |
|---|
| ``` { "advertiserIds": [ string ] } ``` |

| Fields ||
|---|---|
| `advertiserIds[]` | `string (https://developers.google.com/discovery/v1/type-format format)` The IDs of the advertisers. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources/get` | Gets an inventory source deal. |
| ### `https://developers.google.com/display-video/api/reference/rest/v5/advertisers.inventorySources/list` | Lists inventory source deals. |