Send feedback
Method: advertisers.assets.upload
Stay organized with collections
Save and categorize content based on your preferences.
Display & Video 360 API v1 has been sunset.
Uploads an asset. Returns the ID of the newly uploaded asset if successful. The asset file size should be no more than 10 MB for images, 200 MB for ZIP files, and 1 GB for videos.
Must be used within the multipart media upload process . Examples using provided client libraries can be found in our Creating Creatives guide .
HTTP request
Upload URI, for media upload requests:POST https://displayvideo.googleapis.com/upload/v1/advertisers/{advertiserId}/assets
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters
advertiserId
string (int64 format)
Required. The ID of the advertiser this asset belongs to.
Request body
The request body contains data with the following structure:
JSON representation
{
"filename" : string
}
Fields
filename
string
Required. The filename of the asset, including the file extension.
The filename must be UTF-8 encoded with a maximum size of 240 bytes.
Response body
If successful, the response body contains data with the following structure:
A response message for assets.upload
.
JSON representation
{
"asset" : {
object (Asset
)
}
}
Fields
asset
object (Asset
)
The uploaded asset, if successful.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-18 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."]]