# REST Resource: projects.locations.vodSessions.vodStitchDetails

- [Resource: VodStitchDetail](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#VodStitchDetail)
  - [JSON representation](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#VodStitchDetail.SCHEMA_REPRESENTATION)
- [AdStitchDetail](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#AdStitchDetail)
  - [JSON representation](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#AdStitchDetail.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#METHODS_SUMMARY)

## Resource: VodStitchDetail

Information related to the interstitial of a VOD session. This resource is only available for VOD sessions that do not implement Google Ad Manager ad insertion.

| JSON representation |
|---|
| ``` { "name": string, "adStitchDetails": [ { object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#AdStitchDetail`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the stitch detail in the specified VOD session, in the form of `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`. |
| `adStitchDetails[]` | ``object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails#AdStitchDetail`)`` A list of ad processing details for the fetched ad playlist. |

## AdStitchDetail

Metadata for a stitched ad.

| JSON representation |
|---|
| ``` { "adBreakId": string, "adId": string, "adTimeOffset": string, "skipReason": string, "media": { string: value, ... } } ``` |

| Fields ||
|---|---|
| `adBreakId` | `string` Required. The ad break ID of the processed ad. |
| `adId` | `string` Required. The ad ID of the processed ad. |
| `adTimeOffset` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` Required. The time offset of the processed ad. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `skipReason` | `string` Optional. Indicates the reason why the ad has been skipped. |
| `media` | ``map (key: string, value: value (`https://protobuf.dev/reference/protobuf/google.protobuf#value` format))`` Optional. The metadata of the chosen media file for the ad. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails/get` | Returns the specified stitching information for the specified VOD session. |
| ### `https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.vodSessions.vodStitchDetails/list` | Returns a list of detailed stitching information of the specified VOD session. |