public class DisplayVideo.Advertisers.Assets extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DisplayVideo.Advertisers.Assets.Upload |
| Constructor and Description |
|---|
Assets() |
| Modifier and Type | Method and Description |
|---|---|
DisplayVideo.Advertisers.Assets.Upload |
upload(Long advertiserId,
CreateAssetRequest content)
Uploads an asset.
|
DisplayVideo.Advertisers.Assets.Upload |
upload(Long advertiserId,
CreateAssetRequest content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads an asset.
|
public DisplayVideo.Advertisers.Assets.Upload upload(Long advertiserId, CreateAssetRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser this asset belongs to.content - the CreateAssetRequestIOExceptionpublic DisplayVideo.Advertisers.Assets.Upload upload(Long advertiserId, CreateAssetRequest content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
advertiserId - Required. The ID of the advertiser this asset belongs to.content - the CreateAssetRequest media metadata or null if nonemediaContent - The media HTTP content.IOException - if the initialization of the request failsCopyright © 2011–2026 Google. All rights reserved.