Class AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest
Deletes an existing association between the identified resource and a YouTube asset. Warning: This method is only available to an informed subset of users.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest : DisplayVideoBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, long, long, YoutubeAssetTypeEnum, long)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long advertiserId, long lineItemId, AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest.YoutubeAssetTypeEnum youtubeAssetType, long youtubeAssetAssociationId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| long | advertiserId | |
| long | lineItemId | |
| AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest.YoutubeAssetTypeEnum | youtubeAssetType | |
| long | youtubeAssetAssociationId |
Properties
AdvertiserId
Required. The ID of the advertiser that the linked entity belongs to.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
| Type | Description |
|---|---|
| long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
LineItemId
The ID of a line item.
Declaration
[RequestParameter("lineItemId", RequestParameterType.Path)]
public virtual long LineItemId { get; }
Property Value
| Type | Description |
|---|---|
| long |
LinkedEntityAdGroupId
The ID of an ad group.
Declaration
[RequestParameter("linkedEntity.adGroupId", RequestParameterType.Query)]
public virtual long? LinkedEntityAdGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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.
Declaration
[RequestParameter("youtubeAssetAssociationId", RequestParameterType.Path)]
public virtual long YoutubeAssetAssociationId { get; }
Property Value
| Type | Description |
|---|---|
| long |
YoutubeAssetType
Required. The type of YouTube asset associated with the resource.
Declaration
[RequestParameter("youtubeAssetType", RequestParameterType.Path)]
public virtual AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest.YoutubeAssetTypeEnum YoutubeAssetType { get; }
Property Value
| Type | Description |
|---|---|
| AdvertisersResource.LineItemsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.DeleteRequest.YoutubeAssetTypeEnum |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()