Class AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest
Generates a csv formatted saved report.
Inheritance
Inherited Members
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.ReportsResource.SavedResource.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 | |
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 |
---|---|
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 |
---|---|
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 |
---|---|
int? |
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 |
---|---|
int? |
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 |
---|---|
int? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
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 |
---|---|
AccountsResource.ReportsResource.SavedResource.GenerateCsvRequest.ReportingTimeZoneEnum? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
int? |
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 |
---|---|
int? |
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 |
---|---|
int? |
Methods
InitParameters()
Initializes GenerateCsv parameter list.
Declaration
protected override void InitParameters()