Method: studioCreativeAssets.insert

Inserts a new studio creative asset.

HTTP request

  • Upload URI, for media upload requests:
    POST https://dfareporting.googleapis.com/upload/dfareporting/v5/studio/creativeAssets

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "studioAdvertiserId": string,
  "studioAccountId": string,
  "studioCreativeId": string,
  "media": {
      }
}
Fields
studioAdvertiserId

string (int64 format)

Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion.

studioAccountId

string (int64 format)

Optional. Studio account ID of the studio creative asset. It is a optional.

studioCreativeId

string (int64 format)

Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative.

Response body

Response message for DfareportingStudioCreativeAssets.Insert.

If successful, the response body contains data with the following structure:

JSON representation
{
  "assets": [
    {
      object (StudioCreativeAsset)
    }
  ]
}
Fields
assets[]

object (StudioCreativeAsset)

The list of studio creative assets.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking

StudioCreativeAsset

Contains studio creative asset information.

JSON representation
{
  "id": string,
  "studioAccountId": string,
  "studioAdvertiserId": string,
  "studioCreativeId": string,
  "type": enum (Type),
  "filename": string,
  "filesize": string,
  "videoProcessingData": {
    object (VideoProcessingData)
  },
  "createInfo": {
    object (LastModifiedInfo)
  },
  "lastModifiedInfo": {
    object (LastModifiedInfo)
  }
}
Fields
id

string (int64 format)

Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field.

studioAccountId

string (int64 format)

Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated..

studioAdvertiserId

string (int64 format)

Studio advertiser ID of this studio creative asset. This is a required field on insertion.

studioCreativeId

string (int64 format)

Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set.

type

enum (Type)

The type of the studio creative asset. It is a auto-generated, read-only field.

filename

string

The filename of the studio creative asset. It is default to the original filename of the asset.

filesize

string (int64 format)

The filesize of the studio creative asset. This is a read-only field.

videoProcessingData

object (VideoProcessingData)

The processing data of the studio creative asset. This is a read-only field.

createInfo

object (LastModifiedInfo)

Output only. The creation timestamp of the studio creative asset. This is a read-only field.

lastModifiedInfo

object (LastModifiedInfo)

Output only. The last modified timestamp of the studio creative asset. This is a read-only field.

Type

The types available for a Studio asset.

Enums
UNKNOWN_TYPE Unknown type of asset.
HTML The asset is an HTML file.
VIDEO The asset is a video file.
IMAGE The asset is an image file.
FONT The asset is a font file.

VideoProcessingData

Contains processing data for a video asset.

JSON representation
{
  "processingState": enum (ProcessingState),
  "errorReason": string
}
Fields
processingState

enum (ProcessingState)

Output only. The processing state of the studio creative asset.

errorReason

string

For a FAILED processing state, the error reason discovered.

ProcessingState

The processing states available for Studio assets.

Enums
UNKNOWN The processing state is unknown.
PROCESSING The asset is being processed.
SUCCEEDED The asset was successfully processed.
FAILED The asset failed to be processed.