Class AccountsResource.ReportsResource
The "reports" collection of methods.
Inherited Members
Namespace: Google.Apis.AdSenseHost.v4_1
Assembly: Google.Apis.AdSenseHost.v4_1.dll
Syntax
public class AccountsResource.ReportsResource
Constructors
ReportsResource(IClientService)
Constructs a new resource.
Declaration
public ReportsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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 |
---|---|---|
string | accountId | Hosted account upon which to report. |
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 |
---|---|
AccountsResource.ReportsResource.GenerateRequest |