AccountsReports
class AccountsReports extends Resource (View source)
The "reports" collection of methods.
Typical usage is:
$adsensehostService = new Google\Service\AdSenseHost(...);
$reports = $adsensehostService->accounts_reports;
Methods
Details
Report
generate(string $accountId, string $startDate, string $endDate, array $optParams = [])
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. (reports.generate)