Show / Hide Table of Contents

Class ReportsResource

The "reports" collection of methods.

Inheritance
System.Object
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 ReportsResource.SavedResource Saved { get; }
Property Value
Type Description
ReportsResource.SavedResource

Methods

Generate(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 ReportsResource.GenerateRequest Generate(string startDate, string endDate)
Parameters
Type Name Description
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
ReportsResource.GenerateRequest
In This Article
Back to top