Show / Hide Table of Contents

Class AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest

Generates a csv formatted saved report.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<HttpBody>
AdsenseBaseServiceRequest<HttpBody>
AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest
Implements
IClientServiceRequest<HttpBody>
IClientServiceRequest
Inherited Members
AdsenseBaseServiceRequest<HttpBody>.Xgafv
AdsenseBaseServiceRequest<HttpBody>.AccessToken
AdsenseBaseServiceRequest<HttpBody>.Alt
AdsenseBaseServiceRequest<HttpBody>.Callback
AdsenseBaseServiceRequest<HttpBody>.Fields
AdsenseBaseServiceRequest<HttpBody>.Key
AdsenseBaseServiceRequest<HttpBody>.OauthToken
AdsenseBaseServiceRequest<HttpBody>.PrettyPrint
AdsenseBaseServiceRequest<HttpBody>.QuotaUser
AdsenseBaseServiceRequest<HttpBody>.UploadType
AdsenseBaseServiceRequest<HttpBody>.UploadProtocol
ClientServiceRequest<HttpBody>.Execute()
ClientServiceRequest<HttpBody>.ExecuteAsStream()
ClientServiceRequest<HttpBody>.ExecuteAsync()
ClientServiceRequest<HttpBody>.ExecuteAsync(CancellationToken)
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync()
ClientServiceRequest<HttpBody>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<HttpBody>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<HttpBody>.GenerateRequestUri()
ClientServiceRequest<HttpBody>.GetBody()
ClientServiceRequest<HttpBody>.GetDefaultETagAction(String)
ClientServiceRequest<HttpBody>.ETagAction
ClientServiceRequest<HttpBody>.ModifyRequest
ClientServiceRequest<HttpBody>.ValidateParameters
ClientServiceRequest<HttpBody>.RequestParameters
ClientServiceRequest<HttpBody>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class GenerateCsvRequest : AdsenseBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest

Constructors

GenerateCsvRequest(IClientService, String)

Constructs a new GenerateCsv request.

Declaration
public GenerateCsvRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
System.String name

Properties

CurrencyCode

The ISO-4217 currency code to use when reporting on monetary metrics. Defaults to the account's currency if not set.

Declaration
[RequestParameter("currencyCode", RequestParameterType.Query)]
public virtual string CurrencyCode { get; set; }
Property Value
Type Description
System.String

DateRange

Date range of the report, if unset the range will be considered CUSTOM.

Declaration
[RequestParameter("dateRange", RequestParameterType.Query)]
public virtual AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest.DateRangeEnum? DateRange { get; set; }
Property Value
Type Description
System.Nullable<AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest.DateRangeEnum>

EndDateDay

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

Declaration
[RequestParameter("endDate.day", RequestParameterType.Query)]
public virtual int? EndDateDay { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

EndDateMonth

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

Declaration
[RequestParameter("endDate.month", RequestParameterType.Query)]
public virtual int? EndDateMonth { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

EndDateYear

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Declaration
[RequestParameter("endDate.year", RequestParameterType.Query)]
public virtual int? EndDateYear { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.HttpBody>.HttpMethod

LanguageCode

The language to use for translating report output. If unspecified, this defaults to English ("en"). If the given language is not supported, report output will be returned in English. The language is specified as an IETF BCP-47 language code.

Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.HttpBody>.MethodName

Name

Required. Name of the saved report. Format: accounts/{account}/reports/{report}

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

ReportingTimeZone

Timezone in which to generate the report. If unspecified, this defaults to the account timezone. For more information, see changing the time zone of your reports.

Declaration
[RequestParameter("reportingTimeZone", RequestParameterType.Query)]
public virtual AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest.ReportingTimeZoneEnum? ReportingTimeZone { get; set; }
Property Value
Type Description
System.Nullable<AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest.ReportingTimeZoneEnum>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.HttpBody>.RestPath

StartDateDay

Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.

Declaration
[RequestParameter("startDate.day", RequestParameterType.Query)]
public virtual int? StartDateDay { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

StartDateMonth

Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.

Declaration
[RequestParameter("startDate.month", RequestParameterType.Query)]
public virtual int? StartDateMonth { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

StartDateYear

Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.

Declaration
[RequestParameter("startDate.year", RequestParameterType.Query)]
public virtual int? StartDateYear { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Methods

InitParameters()

Initializes GenerateCsv parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Adsense.v2.AdsenseBaseServiceRequest<Google.Apis.Adsense.v2.Data.HttpBody>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top