- HTTP request
- Request body
- Response body
- Authorization scopes
- StudioCreativeAsset
- Type
- VideoProcessingData
- ProcessingState
- Try it!
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 |
Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion. |
studioAccountId |
Optional. Studio account ID of the studio creative asset. It is a optional. |
studioCreativeId |
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 ( |
Fields | |
---|---|
assets[] |
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 ( |
Fields | |
---|---|
id |
Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field. |
studioAccountId |
Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated.. |
studioAdvertiserId |
Studio advertiser ID of this studio creative asset. This is a required field on insertion. |
studioCreativeId |
Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set. |
type |
The type of the studio creative asset. It is a auto-generated, read-only field. |
filename |
The filename of the studio creative asset. It is default to the original filename of the asset. |
filesize |
The filesize of the studio creative asset. This is a read-only field. |
videoProcessingData |
The processing data of the studio creative asset. This is a read-only field. |
createInfo |
Output only. The creation timestamp of the studio creative asset. This is a read-only field. |
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 ( |
Fields | |
---|---|
processingState |
Output only. The processing state of the studio creative asset. |
errorReason |
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. |