Class AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest
Lists the YouTube asset associations linked to the given resource.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest : DisplayVideoBaseServiceRequest<ListYoutubeAssetAssociationsResponse>, IClientServiceRequest<ListYoutubeAssetAssociationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, long, long, YoutubeAssetTypeEnum)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, long advertiserId, long adGroupId, AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest.YoutubeAssetTypeEnum youtubeAssetType)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| long | advertiserId | |
| long | adGroupId | |
| AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest.YoutubeAssetTypeEnum | youtubeAssetType |
Properties
AdGroupId
The ID of an ad group.
Declaration
[RequestParameter("adGroupId", RequestParameterType.Path)]
public virtual long AdGroupId { get; }
Property Value
| Type | Description |
|---|---|
| long |
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
LinkedEntityLineItemId
The ID of a line item.
Declaration
[RequestParameter("linkedEntity.lineItemId", RequestParameterType.Query)]
public virtual long? LinkedEntityLineItemId { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
OrderBy
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.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
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.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
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.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
YoutubeAssetType
Required. The type of YouTube asset being associated with the resource.
Declaration
[RequestParameter("youtubeAssetType", RequestParameterType.Path)]
public virtual AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest.YoutubeAssetTypeEnum YoutubeAssetType { get; }
Property Value
| Type | Description |
|---|---|
| AdvertisersResource.AdGroupsResource.YoutubeAssetTypesResource.YoutubeAssetAssociationsResource.ListRequest.YoutubeAssetTypeEnum |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()