# REST Resource: projects.locations.liveSessions.liveAdMetadata

- [Resource: LiveAdMetadata](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.liveSessions.liveAdMetadata#LiveAdMetadata)
  - [JSON representation](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.liveSessions.liveAdMetadata#LiveAdMetadata.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.liveSessions.liveAdMetadata#METHODS_SUMMARY)

## Resource: LiveAdMetadata

Metadata for an ad unit in a live session which uses client ad tracking.

| JSON representation |
|---|
| ``` { "name": string, "progressiveEvents": [ { object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/ProgressEvent`) } ], "activityEvents": [ { object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/Event`) } ], "companionAds": { object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/CompanionAds`) }, "adDuration": string } ``` |

| Fields ||
|---|---|
| `name` | `string` The name of the ad metadata, in the form of `projects/{project}/locations/{location}/liveSessions/{live_session_id}/ adMetadata/{id}`. |
| `progressiveEvents[]` | ``object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/ProgressEvent`)`` List of progressive events for linear ads. |
| `activityEvents[]` | ``object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/Event`)`` List of activity events for linear ads. |
| `companionAds` | ``object (`https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/CompanionAds`)`` Companion ads metadata. |
| `adDuration` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#duration` format)`` The total duration of the ad. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/video-stitcher/docs/reference/rest/v1/projects.locations.liveSessions.liveAdMetadata/get` | Returns the specified ad metadata for the specified live session. |