Show / Hide Table of Contents

Class AccountsResource.ReportsResource

The "reports" collection of methods.

Inheritance
System.Object
AccountsResource.ReportsResource
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 ReportsResource

Constructors

ReportsResource(IClientService)

Constructs a new resource.

Declaration
public ReportsResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Properties

Saved

Gets the Saved resource.

Declaration
public virtual AccountsResource.ReportsResource.SavedResource Saved { get; }
Property Value
Type Description
AccountsResource.ReportsResource.SavedResource

Methods

Generate(String, String, String)

Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.

Declaration
public virtual AccountsResource.ReportsResource.GenerateRequest Generate(string accountId, string startDate, string endDate)
Parameters
Type Name Description
System.String accountId

Account upon which to report.

System.String startDate

Start of the date range to report on in "YYYY-MM-DD" format, inclusive.

System.String endDate

End of the date range to report on in "YYYY-MM-DD" format, inclusive.

Returns
Type Description
AccountsResource.ReportsResource.GenerateRequest
In This Article
Back to top