v1

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

Lists the YouTube asset associations linked to the given resource.

get/v4/advertisers/{+advertiserId}/lineItems/{+lineItemId}/youtubeAssetTypes/{+youtubeAssetType}/youtubeAssetAssociations

Path parameters

advertiserIdstring required

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

lineItemIdstring required

The ID of a line item.

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 being associated with the resource.

Query parameters

linkedEntity.adGroupIdstring

The ID of an ad group.

orderBystring

Optional. Field by which to sort the list. The only acceptable values are: * linkedYoutubeAsset.locationAssetFilter.assetSetId, * linkedYoutubeAsset.affiliateLocationAssetFilter.assetSetId, * linkedYoutubeAsset.sitelinkAsset.assetId The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: linkedYoutubeAsset.sitelinkAsset.assetId desc.

pageSizeinteger

Optional. Requested page size. Must be between 1 and 10000. If unspecified will default to 100. Returns error code INVALID_ARGUMENT if an invalid value is specified.

pageTokenstring

Optional. A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to ListYoutubeAssetAssociations method. If not specified, the first page of results will be returned.

Response

Successful response