v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
advertisers

Deletes an existing association between the identified resource and a YouTube asset. Warning: This method is only available to an informed subset of users.

delete/v4/advertisers/{+advertiserId}/adGroups/{+adGroupId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations/{+youtubeAssetAssociationId}

Path parameters

advertiserIdstring required

Required. The ID of the advertiser that the linked entity belongs to.

adGroupIdstring required

The ID of an ad group.

youtubeAssetType'YOUTUBE_ASSET_TYPE_UNSPECIFIED' | 'YOUTUBE_ASSET_TYPE_LOCATION' | 'YOUTUBE_ASSET_TYPE_AFFILIATE_LOCATION' | 'YOUTUBE_ASSET_TYPE_SITELINK' required

Required. The type of YouTube asset associated with the resource.

youtubeAssetAssociationIdstring required

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.

Query parameters

linkedEntity.lineItemIdstring

The ID of a line item.

Response

Successful response