Show / Hide Table of Contents

Class AdvertisersResource.AdAssetsResource.ListRequest

Lists ad assets under an advertiser ID. Only supports the retrieval of assets of AdAssetType AD_ASSET_TYPE_YOUTUBE_VIDEO.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAdAssetsResponse>
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>
AdvertisersResource.AdAssetsResource.ListRequest
Implements
IClientServiceRequest<ListAdAssetsResponse>
IClientServiceRequest
Inherited Members
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.Xgafv
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.AccessToken
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.Alt
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.Callback
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.Fields
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.Key
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.OauthToken
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.PrettyPrint
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.QuotaUser
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.UploadType
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.UploadProtocol
ClientServiceRequest<ListAdAssetsResponse>.Execute()
ClientServiceRequest<ListAdAssetsResponse>.ExecuteAsStream()
ClientServiceRequest<ListAdAssetsResponse>.ExecuteAsync()
ClientServiceRequest<ListAdAssetsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAdAssetsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAdAssetsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAdAssetsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAdAssetsResponse>.GenerateRequestUri()
ClientServiceRequest<ListAdAssetsResponse>.GetBody()
ClientServiceRequest<ListAdAssetsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAdAssetsResponse>.ETagAction
ClientServiceRequest<ListAdAssetsResponse>.ModifyRequest
ClientServiceRequest<ListAdAssetsResponse>.ValidateParameters
ClientServiceRequest<ListAdAssetsResponse>.ApiVersion
ClientServiceRequest<ListAdAssetsResponse>.RequestParameters
ClientServiceRequest<ListAdAssetsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class AdvertisersResource.AdAssetsResource.ListRequest : DisplayVideoBaseServiceRequest<ListAdAssetsResponse>, IClientServiceRequest<ListAdAssetsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, long)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, long advertiserId)
Parameters
Type Name Description
IClientService service
long advertiserId

Properties

AdvertiserId

Required. The ID of the advertiser the ad assets belong to.

Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type Description
long

Filter

Optional. Allows filtering of the results by ad asset fields. Supported syntax: * A restriction has the form of {field} {operator} {value}. * All fields must use the EQUALS (=) operator. Supported fields: * youtubeVideoAsset.youtubeVideoId * entityStatus Examples: * All active YouTube video ad assets under an advertiser: entityStatus=ENTITY_STATUS_ACTIVE

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListAdAssetsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListAdAssetsResponse>.MethodName

OrderBy

Optional. Field by which to sort the list. Acceptable values are: * entityStatus * youtubeVideoAsset.youtubeVideoId * adAssetId (default) The default sorting order is ascending. To specify descending order for a field, a suffix "desc" should be added to the field name. Example: adAssetId 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 5000. If unspecified will default to 5000. 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 ListAdAssets 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
ClientServiceRequest<ListAdAssetsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
DisplayVideoBaseServiceRequest<ListAdAssetsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX