Class AdvertisersResource.InvoicesResource.ListRequest
Lists invoices posted for an advertiser in a given month. Invoices generated by billing profiles with a "Partner" invoice level are not retrievable through this method.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.InvoicesResource.ListRequest : DisplayVideoBaseServiceRequest<ListInvoicesResponse>, IClientServiceRequest<ListInvoicesResponse>, 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 to list invoices for.
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
IssueMonth
The month to list the invoices for. If not set, the request will retrieve invoices for the previous month. Must be in the format YYYYMM.
Declaration
[RequestParameter("issueMonth", RequestParameterType.Query)]
public virtual string IssueMonth { get; set; }
Property Value
Type | Description |
---|---|
string |
LoiSapinInvoiceType
Select type of invoice to retrieve for Loi Sapin advertisers. Only applicable to Loi Sapin advertisers. Will be ignored otherwise.
Declaration
[RequestParameter("loiSapinInvoiceType", RequestParameterType.Query)]
public virtual AdvertisersResource.InvoicesResource.ListRequest.LoiSapinInvoiceTypeEnum? LoiSapinInvoiceType { get; set; }
Property Value
Type | Description |
---|---|
AdvertisersResource.InvoicesResource.ListRequest.LoiSapinInvoiceTypeEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Requested page size. Must be between 1
and 200
. 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
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 ListInvoices
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()