public class DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Create |
class |
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Delete |
class |
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.List |
| Constructor and Description |
|---|
YoutubeAssetAssociations() |
| Modifier and Type | Method and Description |
|---|---|
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Create |
create(Long advertiserId,
Long lineItemId,
String youtubeAssetType,
YoutubeAssetAssociation content)
Creates a new association between the identified resource and a YouTube asset.
|
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Delete |
delete(Long advertiserId,
Long lineItemId,
String youtubeAssetType,
Long youtubeAssetAssociationId)
Deletes an existing association between the identified resource and a YouTube asset.
|
DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.List |
list(Long advertiserId,
Long lineItemId,
String youtubeAssetType)
Lists the YouTube asset associations linked to the given resource.
|
public DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Create create(Long advertiserId, Long lineItemId, String youtubeAssetType, YoutubeAssetAssociation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser that the linked entity belongs to.lineItemId - The ID of a line item.youtubeAssetType - Required. The type of YouTube asset associated with the resource.content - the YoutubeAssetAssociationIOExceptionpublic DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.Delete delete(Long advertiserId, Long lineItemId, String youtubeAssetType, Long youtubeAssetAssociationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser that the linked entity belongs to.lineItemId - The ID of a line item.youtubeAssetType - Required. The type of YouTube asset associated with the resource.youtubeAssetAssociationId - Required. The ID of the YouTube asset in the association. For `YOUTUBE_ASSET_TYPE_LOCATION` and
`YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION` associations: This should be the ID of the asset
set linked, or 0 if the location_asset_filter or affiliate_location_asset_filter is
`DISABLED`. For `YOUTUBE_ASSET_TYPE_SITELINK` associations: This should be the ID of the
sitelink asset linked.IOExceptionpublic DisplayVideo.Advertisers.LineItems.YoutubeAssetTypes.YoutubeAssetAssociations.List list(Long advertiserId, Long lineItemId, String youtubeAssetType) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.advertiserId - Required. The ID of the advertiser that the linked entity belongs to.lineItemId - The ID of a line item.youtubeAssetType - Required. The type of YouTube asset being associated with the resource.IOExceptionCopyright © 2011–2026 Google. All rights reserved.