Class YoutubeAssetAssociation
An association between a resource and a YouTube asset.
Implements
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4.Data
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class YoutubeAssetAssociation : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LinkedYoutubeAsset
Required. The YouTube asset associated with the resource.
Declaration
[JsonProperty("linkedYoutubeAsset")]
public virtual YoutubeAssetAssociationLinkedYouTubeAsset LinkedYoutubeAsset { get; set; }
Property Value
| Type | Description |
|---|---|
| YoutubeAssetAssociationLinkedYouTubeAsset |
Name
Identifier. The resource name of the association. For line item-level associations: The name pattern is
advertisers/{advertiser_id}/lineItems/{line_item_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}.
For ad group-level associations: The name pattern is
advertisers/{advertiser_id}/adGroups/{ad_group_id}/youtubeAssetTypes/{youtube_asset_type}/youtubeAssetAssociations/{youtube_asset_association_id}.
For YOUTUBE_ASSET_TYPE_LOCATION and YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION associations:
youtube_asset_association_id is the ID of the asset set linked, or 0 if the location_matching_type or
affiliate_location_matching_type is DISABLED. For YOUTUBE_ASSET_TYPE_SITELINK associations:
youtube_asset_association_id is be the ID of the sitelink asset linked.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
YoutubeAssetType
Required. The type of YouTube asset associated with the resource.
Declaration
[JsonProperty("youtubeAssetType")]
public virtual string YoutubeAssetType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |