Class ReportsResource.SavedResource.GenerateRequest
Generate an AdSense report based on the saved report ID sent in the query parameters.
Inheritance
System.Object
ReportsResource.SavedResource.GenerateRequest
Inherited Members
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.v1_4
Assembly: Google.Apis.AdSense.v1_4.dll
Syntax
public class GenerateRequest : AdSenseBaseServiceRequest<AdsenseReportsGenerateResponse>, IClientServiceRequest<AdsenseReportsGenerateResponse>, IClientServiceRequest
Constructors
GenerateRequest(IClientService, String)
Constructs a new Generate request.
Declaration
public GenerateRequest(IClientService service, string savedReportId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | savedReportId |
Properties
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.v1_4.Data.AdsenseReportsGenerateResponse>.HttpMethod
Locale
Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.
Declaration
[RequestParameter("locale", RequestParameterType.Query)]
public virtual string Locale { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxResults
The maximum number of rows of report data to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
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.v1_4.Data.AdsenseReportsGenerateResponse>.MethodName
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.v1_4.Data.AdsenseReportsGenerateResponse>.RestPath
SavedReportId
The saved report to retrieve.
Declaration
[RequestParameter("savedReportId", RequestParameterType.Path)]
public virtual string SavedReportId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
StartIndex
Index of the first row of report data to return.
Declaration
[RequestParameter("startIndex", RequestParameterType.Query)]
public virtual int? StartIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Methods
InitParameters()
Initializes Generate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.AdSense.v1_4.AdSenseBaseServiceRequest<Google.Apis.AdSense.v1_4.Data.AdsenseReportsGenerateResponse>.InitParameters()