REST Resource: creatives

Resource: Creative

A Creative resource. Present as response upon completion of PartnerDiscoveryService.CreateCreative.

JSON representation
{
  "name": string,
  "advertiser": string,
  "adSystem": string,
  "adTitle": string,
  "adDescription": string,
  "mezzanines": [
    {
      object (MediaFile)
    }
  ],
  "mediaFiles": [
    {
      object (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 (MediaFile)

The ad's mezzanine file URLs and their properties. At least one of mezannines or mediaFiles is required.

mediaFiles[]

object (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 (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 (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

create

Creates a Creative.

delete

Deletes a Creative.

get

Gets a Creative.