Show / Hide Table of Contents

Class ReportsResource

The "reports" collection of methods.

Inheritance
object
ReportsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class ReportsResource

Constructors

ReportsResource(IClientService)

Constructs a new resource.

Declaration
public ReportsResource(IClientService service)
Parameters
Type Name Description
IClientService service

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
string startDate

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

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 Generated by DocFX