# REST Resource: creatives

- [Resource: Creative](https://developers.google.com/video-creative-ingest/rest/v1/creatives#Creative)
  - [JSON representation](https://developers.google.com/video-creative-ingest/rest/v1/creatives#Creative.SCHEMA_REPRESENTATION)
- [MediaFile](https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile)
  - [JSON representation](https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile.SCHEMA_REPRESENTATION)
- [Delivery](https://developers.google.com/video-creative-ingest/rest/v1/creatives#Delivery)
- [Methods](https://developers.google.com/video-creative-ingest/rest/v1/creatives#METHODS_SUMMARY)

## Resource: Creative

A Creative resource. Present as `https://developers.google.com/video-creative-ingest/rest/v1/operations#Operation.FIELDS.response` upon completion of `https://developers.google.com/video-creative-ingest/rest/v1/creatives/create#google.ads.dai.v1.PartnerDiscoveryService.CreateCreative`.

| JSON representation |
|---|
| ``` { "name": string, "advertiser": string, "adSystem": string, "adTitle": string, "adDescription": string, "mezzanines": [ { object (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile`) } ], "mediaFiles": [ { object (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile`) } ], "networkCode": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The unique name (Google Video ID) of the Creative resource, in the format creatives/`id`. |
| `advertiser` | `string` The name of the advertiser featured in this creative. |
| `adSystem` | `string` Required. The name of ad system generating the ingest request. |
| `adTitle` | `string` The title of the advertisement. |
| `adDescription` | `string` The description of the advertisement. |
| `mezzanines[]` | ``object (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile`)`` The ad's mezzanine file URLs and their properties. At least one of mezannines or mediaFiles is required. |
| `mediaFiles[]` | ``object (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#MediaFile`)`` The ad's media file URLs and their properties. At least one of mezannines or mediaFiles is required. |
| `networkCode` | `string` Optional. The Google Ad Manager network code of the publisher for which the creative is intended. Required if the creative is dynamic and has DynamicCreativeInfo populated in the CreateCreativeRequest. |

## MediaFile

The properties related to a given media file.

| JSON representation |
|---|
| ``` { "uri": string, "delivery": enum (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#Delivery`), "height": integer, "width": integer, "mimeType": string, "minBitrate": integer, "maxBitrate": integer } ``` |

| Fields ||
|---|---|
| `uri` | `string` Required. The unique URL to the creative's media file. |
| `delivery` | ``enum (`https://developers.google.com/video-creative-ingest/rest/v1/creatives#Delivery`)`` Required. The delivery type of the creative. |
| `height` | `integer` The native height of video file, in pixels. |
| `width` | `integer` The native width of video file, in pixels. |
| `mimeType` | `string` Required. The MIME type for the file container. Popular MIME types include "video/x-flv" for Flash Video and "video/mp4" for MP4. |
| `minBitrate` | `integer` The minimum bitrate of media file. For progressive load video, this value should be the average bitrate. |
| `maxBitrate` | `integer` The maximum bitrate of media file. For progressive load video, this value should be the average bitrate. |

## Delivery

Delivery types.

| Enums ||
|---|---|
| `DELIVERY_UNSPECIFIED` | Default delivery value. |
| `DELIVERY_PROGRESSIVE` | Progressive video delivery. |
| `DELIVERY_STREAMING` | Streaming video delivery. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/video-creative-ingest/rest/v1/creatives/create` | Creates a Creative. |
| ### `https://developers.google.com/video-creative-ingest/rest/v1/creatives/delete` | Deletes a Creative. |
| ### `https://developers.google.com/video-creative-ingest/rest/v1/creatives/get` | Gets a Creative. |