CreativeSpecification

Creative specification for an ad unit.

JSON representation
{
  "widthPixels": integer,
  "heightPixels": integer,
  "creativeType": enum (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 (CreativeType)

Required. The type of the creative (image or video).

maxFileSizeBytes

string (int64 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.