# CreativeSpecification

- [JSON representation](https://developers.google.com/display-video/out-of-home-seller/reference/rest/v1beta1/CreativeSpecification#SCHEMA_REPRESENTATION)
- [CreativeType](https://developers.google.com/display-video/out-of-home-seller/reference/rest/v1beta1/CreativeSpecification#CreativeType)

Creative specification for an ad unit.

| JSON representation |
|---|
| ``` { "widthPixels": integer, "heightPixels": integer, "creativeType": enum (`https://developers.google.com/display-video/out-of-home-seller/reference/rest/v1beta1/CreativeSpecification#CreativeType`), "maxFileSizeBytes": string, "mimeType": string } ``` |

| Fields ||
|---|---|
| `widthPixels` | `integer` Required. Width of the creative in pixels. |
| `heightPixels` | `integer` Required. Height of the creative in pixels. |
| `creativeType` | ``enum (`https://developers.google.com/display-video/out-of-home-seller/reference/rest/v1beta1/CreativeSpecification#CreativeType`)`` Required. The type of the creative (image or video). |
| `maxFileSizeBytes` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. The maximum acceptable creative file size in bytes. |
| `mimeType` | `string` Required. The MIME type of the creative file. An IANA published MIME type (also referred to as media type). For more information, see <https://www.iana.org/assignments/media-types/> media-types.xhtml. |

## CreativeType

The type of the creative to be referenced in creative specifications.

| Enums ||
|---|---|
| `CREATIVE_TYPE_UNSPECIFIED` | Default value when creative type is not specified or is unknown in this version. |
| `CREATIVE_TYPE_IMAGE` | Creative specification of type image. |
| `CREATIVE_TYPE_VIDEO` | Creative specification of type video. |