- [Resource: InventorySource](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySource)
  - [JSON representation](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySource.SCHEMA_REPRESENTATION)
- [BuyerStatus](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#BuyerStatus)
- [SellerStatus](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#SellerStatus)
- [InventorySourceVolumeForecast](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySourceVolumeForecast)
  - [JSON representation](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySourceVolumeForecast.SCHEMA_REPRESENTATION)
- [DailyVolume](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DailyVolume)
  - [JSON representation](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DailyVolume.SCHEMA_REPRESENTATION)
- [DayOfWeek](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DayOfWeek)
- [CreativeApprovalConfig](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#CreativeApprovalConfig)
  - [JSON representation](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#CreativeApprovalConfig.SCHEMA_REPRESENTATION)
- [PublisherConfig](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#PublisherConfig)
  - [JSON representation](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#PublisherConfig.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#METHODS_SUMMARY)

## Resource: InventorySource

Execution model of a DV360 inventory source.

| JSON representation |
|---|
| ``` { "name": string, "buyerStatus": enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#BuyerStatus`), "sellerStatus": enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#SellerStatus`), "transactionType": enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/TransactionType`), "pricingType": enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/PricingType`), "rateDetails": { object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/RateDetails`) }, "startTime": string, "endTime": string, "exchangeVolumeForecast": { object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySourceVolumeForecast`) }, "audienceMatchRate": number, "makegoodRequested": boolean, "makegoodRequestedReason": string, "percentFrequencyCapExcludedTraffic": string, "dv360WseatId": [ string ], "lastModifiedTime": string, "creativeApprovalConfig": { object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#CreativeApprovalConfig`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Relative resource name for the inventory source. Generated by server. Example: `exchanges/1234/inventorySources/5678`. |
| `buyerStatus` | ``enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#BuyerStatus`)`` Output only. Buyer status. |
| `sellerStatus` | ``enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#SellerStatus`)`` Seller status. |
| `transactionType` | ``enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/TransactionType`)`` Output only. Transaction type. |
| `pricingType` | ``enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/PricingType`)`` Output only. Pricing type for the inventory source. |
| `rateDetails` | ``object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/RateDetails`)`` Output only. Rate details. |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when this inventory source becomes active. Must be earlier than endTime. Start time cannot be more than 1 year in the future. 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)`` Output only. Time when this inventory source becomes inactive. 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"`. |
| `exchangeVolumeForecast (deprecated)` | ``object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#InventorySourceVolumeForecast`)`` > [!WARNING] > This item is deprecated! Exchange provided daily volume forecast. Used to determine pacing and enable buyer choice. This field is deprecated. |
| `audienceMatchRate` | `number` Output only. Forecasted audience match rate for programmatic guaranteed deals with audience targeting, used by exchange to determine how many additional requests should be sent. This is a decimal between 0 and 1, whose inverse should be used as a multiplier for the impressions. 0 indicates that the field is unset, and therefore has no audience targeting. Example: `0.125`. This indicates 12.5% of the requests matches the audience targeting, and the amount of requests sent should be 8x the negotiated impressions. |
| `makegoodRequested` | `boolean` Output only. Indicates whether a Makegood has been requested from the buyer. |
| `makegoodRequestedReason` | `string` Output only. Reason why Makegood is requested provided by the buyer. |
| `percentFrequencyCapExcludedTraffic` | `string (https://developers.google.com/discovery/v1/type-format format)` Percent of traffic excluded from frequency cap for a programmatic guaranteed deal. This is an integer between 0 and 100. The value 0 (also the default value) indicates no exclusion and therefore all traffic is eligible for frequency cap. 100 indicates complete exclusion and therefore no frequency cap will be applied. Values between 0 and 100 will result in partial exclusion. For example a value of 20 will result in 20% of the traffic to be excluded from frequency cap. |
| `dv360WseatId[]` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The WSeats that are permissioned to the inventory source. |
| `lastModifiedTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Last time the inventory source was updated. Note some DV3 internal updates will change the last modified time. 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"`. |
| `creativeApprovalConfig` | ``object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#CreativeApprovalConfig`)`` Optional. The config for creative Approval. Approval can be required at the exchange level or at the publisher level. |

## BuyerStatus

Buyer status.

| Enums ||
|---|---|
| `BUYER_STATUS_UNSPECIFIED` | Buyer status is not specified. Not valid input value. |
| `BUYER_STATUS_ACTIVE` | Buyer status active. Line item assigned, valid creative assigned. |
| `BUYER_STATUS_PENDING` | Buyer status pending. This status means deal is not active and certain actions are needed by the buyer. |
| `BUYER_STATUS_PAUSED` | Buyer status of paused by buyer. |

## SellerStatus

Seller status.

| Enums ||
|---|---|
| `SELLER_STATUS_UNSPECIFIED` | Seller status unspecified. Unexpected, it indicates the negotiation status is unknown. Not valid input value. |
| `SELLER_STATUS_ACTIVE` | Seller status active. Inventory source is active on exchange side. |
| `SELLER_STATUS_PAUSED` | Seller status paused. |

## InventorySourceVolumeForecast

Daily request volume forecast for an inventory source. The following validation rules apply: - an entry must be provided for each day of the week - the volume must be non-negative - the timeZoneId is required and must be valid

| JSON representation |
|---|
| ``` { "dailyVolumes": [ { object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DailyVolume`) } ], "timeZoneId": string } ``` |

| Fields ||
|---|---|
| `dailyVolumes[]` | ``object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DailyVolume`)`` Daily volumes forecast. |
| `timeZoneId` | `string` IANA Time Zone Database time zone, such as `America/New_York`, that is used for the daily volumes. |

## DailyVolume

Request volume for an inventory source for a given day.

| JSON representation |
|---|
| ``` { "day": enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DayOfWeek`), "volume": string } ``` |

| Fields ||
|---|---|
| `day` | ``enum (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#DayOfWeek`)`` Day of the week the request volume applies to. |
| `volume` | `string (https://developers.google.com/discovery/v1/type-format format)` The forecasted request volume for the given day of the week. |

## DayOfWeek

Represents a day of the week.

| Enums ||
|---|---|
| `DAY_OF_WEEK_UNSPECIFIED` | The day of the week is unspecified. |
| `MONDAY` | Monday |
| `TUESDAY` | Tuesday |
| `WEDNESDAY` | Wednesday |
| `THURSDAY` | Thursday |
| `FRIDAY` | Friday |
| `SATURDAY` | Saturday |
| `SUNDAY` | Sunday |

## CreativeApprovalConfig

The config for creative Approval.

| JSON representation |
|---|
| ``` { "requiresExchangeApproval": boolean, "publisherConfigs": [ { object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#PublisherConfig`) } ] } ``` |

| Fields ||
|---|---|
| `requiresExchangeApproval` | `boolean` Required. Indicates whether the creative requires pre-ingest approval at exchange level. |
| `publisherConfigs[]` | ``object (`https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources#PublisherConfig`)`` Optional. The config for the publisher. |

## PublisherConfig

The config for the publisher (publisher_config). If the publisher_config is set, the creative requires pre-ingest approval at the publisher level.

| JSON representation |
|---|
| ``` { "publisherId": string, "publisherDisplayName": string } ``` |

| Fields ||
|---|---|
| `publisherId` | `string` Required. The publisher ID. |
| `publisherDisplayName` | `string` Required. The publisher name. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources/get` | Gets an inventory source. |
| ### `https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources/list` | Lists inventory sources. |
| ### `https://developers.google.com/display-video/seller/reference/rest/v1beta1/exchanges.inventorySources/patch` | Updates an inventory source. |