Show / Hide Table of Contents

Class AccountsResource.ReportsResource.SavedResource.GenerateRequest

Generates a saved report.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ReportResult>
AdsenseBaseServiceRequest<ReportResult>
AccountsResource.ReportsResource.SavedResource.GenerateRequest
Implements
IClientServiceRequest<ReportResult>
IClientServiceRequest
Inherited Members
AdsenseBaseServiceRequest<ReportResult>.Xgafv
AdsenseBaseServiceRequest<ReportResult>.AccessToken
AdsenseBaseServiceRequest<ReportResult>.Alt
AdsenseBaseServiceRequest<ReportResult>.Callback
AdsenseBaseServiceRequest<ReportResult>.Fields
AdsenseBaseServiceRequest<ReportResult>.Key
AdsenseBaseServiceRequest<ReportResult>.OauthToken
AdsenseBaseServiceRequest<ReportResult>.PrettyPrint
AdsenseBaseServiceRequest<ReportResult>.QuotaUser
AdsenseBaseServiceRequest<ReportResult>.UploadType
AdsenseBaseServiceRequest<ReportResult>.UploadProtocol
ClientServiceRequest<ReportResult>.Execute()
ClientServiceRequest<ReportResult>.ExecuteAsStream()
ClientServiceRequest<ReportResult>.ExecuteAsync()
ClientServiceRequest<ReportResult>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ReportResult>.ExecuteAsStreamAsync()
ClientServiceRequest<ReportResult>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ReportResult>.CreateRequest(bool?)
ClientServiceRequest<ReportResult>.GenerateRequestUri()
ClientServiceRequest<ReportResult>.GetBody()
ClientServiceRequest<ReportResult>.GetDefaultETagAction(string)
ClientServiceRequest<ReportResult>.ETagAction
ClientServiceRequest<ReportResult>.ModifyRequest
ClientServiceRequest<ReportResult>.ValidateParameters
ClientServiceRequest<ReportResult>.ApiVersion
ClientServiceRequest<ReportResult>.RequestParameters
ClientServiceRequest<ReportResult>.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.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.ReportsResource.SavedResource.GenerateRequest : AdsenseBaseServiceRequest<ReportResult>, IClientServiceRequest<ReportResult>, IClientServiceRequest

Constructors

GenerateRequest(IClientService, string)

Constructs a new Generate request.

Declaration
public GenerateRequest(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.GenerateRequest.DateRangeEnum? DateRange { get; set; }
Property Value
Type Description
AccountsResource.ReportsResource.SavedResource.GenerateRequest.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
ClientServiceRequest<ReportResult>.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
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReportResult>.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
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.GenerateRequest.ReportingTimeZoneEnum? ReportingTimeZone { get; set; }
Property Value
Type Description
AccountsResource.ReportsResource.SavedResource.GenerateRequest.ReportingTimeZoneEnum?

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ReportResult>.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
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 Generate parameter list.

Declaration
protected override void InitParameters()
Overrides
AdsenseBaseServiceRequest<ReportResult>.InitParameters()

Implements

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