public class DisplayVideo.Advertisers.AdAssets extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DisplayVideo.Advertisers.AdAssets.BulkCreate |
class |
DisplayVideo.Advertisers.AdAssets.Create |
class |
DisplayVideo.Advertisers.AdAssets.Get |
class |
DisplayVideo.Advertisers.AdAssets.List |
class |
DisplayVideo.Advertisers.AdAssets.Upload |
| Constructor and Description |
|---|
AdAssets() |
| Modifier and Type | Method and Description |
|---|---|
DisplayVideo.Advertisers.AdAssets.BulkCreate |
bulkCreate(Long advertiserId,
BulkCreateAdAssetsRequest content)
Creates multiple ad assets in a single request.
|
DisplayVideo.Advertisers.AdAssets.Create |
create(Long advertiserId,
CreateAdAssetRequest content)
Creates an ad asset.
|
DisplayVideo.Advertisers.AdAssets.Get |
get(Long advertiserId,
Long adAssetId)
Gets an ad asset.
|
DisplayVideo.Advertisers.AdAssets.List |
list(Long advertiserId)
Lists ad assets under an advertiser ID.
|
DisplayVideo.Advertisers.AdAssets.Upload |
upload(Long advertiserId,
UploadAdAssetRequest content)
Uploads and creates an ad asset.
|
DisplayVideo.Advertisers.AdAssets.Upload |
upload(Long advertiserId,
UploadAdAssetRequest content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads and creates an ad asset.
|
public DisplayVideo.Advertisers.AdAssets.BulkCreate bulkCreate(Long advertiserId, BulkCreateAdAssetsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser these ad assets belong to.content - the BulkCreateAdAssetsRequestIOExceptionpublic DisplayVideo.Advertisers.AdAssets.Create create(Long advertiserId, CreateAdAssetRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser this ad asset belongs to.content - the CreateAdAssetRequestIOExceptionpublic DisplayVideo.Advertisers.AdAssets.Get get(Long advertiserId, Long adAssetId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser this ad asset belongs to.adAssetId - Required. The ID of the ad asset to fetch. Only supports assets of AdAssetType
`AD_ASSET_TYPE_YOUTUBE_VIDEO`IOExceptionpublic DisplayVideo.Advertisers.AdAssets.List list(Long advertiserId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser the ad assets belong to.IOExceptionpublic DisplayVideo.Advertisers.AdAssets.Upload upload(Long advertiserId, UploadAdAssetRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser this ad asset belongs to.content - the UploadAdAssetRequestIOExceptionpublic DisplayVideo.Advertisers.AdAssets.Upload upload(Long advertiserId, UploadAdAssetRequest 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 ad asset belongs to.content - the UploadAdAssetRequest media metadata or null if nonemediaContent - The media HTTP content.IOException - if the initialization of the request failsCopyright © 2011–2026 Google. All rights reserved.