Page Summary
-
Creative specification defines the required properties for an ad unit, including dimensions, type, maximum file size, and MIME type.
-
The JSON representation provides a structured format for describing the creative specification using fields like
widthPixels,heightPixels,creativeType,maxFileSizeBytes, andmimeType. -
All listed fields in the creative specification are required and specify details like image/video type, file size limit, and file format.
Creative specification for an ad unit.
| JSON representation |
|---|
{
"widthPixels": integer,
"heightPixels": integer,
"creativeType": enum ( |
| Fields | |
|---|---|
widthPixels |
Required. Width of the creative in pixels. |
heightPixels |
Required. Height of the creative in pixels. |
creativeType |
Required. The type of the creative (image or video). |
maxFileSizeBytes |
Required. The maximum acceptable creative file size in bytes. |
mimeType |
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. |