Class ReportsResource
The "reports" collection of methods.
public class ReportsResource
- Inheritance
-
ReportsResource
- Inherited Members
Constructors
ReportsResource(IClientService)
Constructs a new resource.
public ReportsResource(IClientService service)
Parameters
service
IClientService
Properties
Saved
Gets the Saved resource.
public virtual ReportsResource.SavedResource Saved { get; }
Property Value
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.
public virtual ReportsResource.GenerateRequest Generate(string startDate, string endDate)
Parameters
startDate
stringStart of the date range to report on in "YYYY-MM-DD" format, inclusive.
endDate
stringEnd of the date range to report on in "YYYY-MM-DD" format, inclusive.